<template>
  <div class="overall-page page">
    <div class="overall-container">
      <div class="top-container">
        <div class="top-item">
          <el-row style="width: 100%;" class="mb21 cusHeight">
            <Card title="全市各县市区农业情况" use2025-path :is-export="true" :is-select="false" page="110">
              <div class="chart" id="compositeChart"></div>
            </Card>
          </el-row>

          <el-row style="width: 100%;" class="mb2 cusHeight">
            <Card title="乡镇农业发展情况" use2025-path :is-export="true" :is-select="false" page="110">
              <div class="chart" id="townshipChart"></div>
            </Card>
          </el-row>
        </div>
        <div class="top-item1">
          <div id="arricultureMap" class="chart"></div>
          <div class="map-tooltip" v-if="tooltipShow">
            <div class="map-tooltip-title">{{ cityName }}</div>
            <div style="position: absolute;right: 0;top:10px;width: 30px;height: 30px" @click="tooltipShow"></div>
            <div class="map-tooltip-content">
              <div class="tooltip-item" v-for="(item, index) in toolList" :key="index">
                <div class="value">
                  <span class="number">{{ item.value }}</span>
                  <span class="unit">{{ item.unit }}</span>
                </div>
                <div class="label">{{ item.name }}</div>
              </div>
            </div>
          </div>
        </div>
        <div class="top-item">
          <el-row style="width: 100%;" class="mb21 cusHeight">
            <Card title="乡镇一产增加值指标情况" use2025-path :is-export="true" page="112">
              <div class="chart" id="addedValueChart"></div>
            </Card>
          </el-row>
          <el-row style="width: 100%;" class="mb2 cusHeight">
            <Card title="一产增加值构成情况" use2025-path :is-export="true" page="460">
              <div class="chart" id="structureChart"></div>
            </Card>
          </el-row>
        </div>
      </div>
      <div class="info-block">
        <!-- 第一行 -->
        <div class="info-container">
          <el-row class="info-item cusHeight">
            <Card title="乡镇基本情况" use2025-path :is-export="true" page="121">
              <BarCharts :source="barList4" :legend="true" :loading="false" :barWidth="15" :barRadius="[0, 0, 0, 0]"
                :grid="{ top: 40, bottom: -10, left: 20, right: 10 }" />
            </Card>
          </el-row>
          <el-row class="info-item cusHeight">
            <Card title="农业发展路径分析" use2025-path :is-export="true" page="127">
              <TableComponent :headers="headers1" :data="tableData1" />
            </Card>
          </el-row>
          <el-row class="info-item cusHeight">
            <Card title="土地经营情况" use2025-path :is-export="true" page="124">
              <BarCharts :source="barList5" :legend="true" :loading="false" :smooth="true" :area='true'
                :grid="{ top: 40, bottom: -10, left: 20, right: 10 }" :areaGradient="true" />
            </Card>
          </el-row>
        </div>
        <!-- 第二行 -->
        <div class="info-container">
          <el-row class="info-item cusHeight">
            <Card title="农作物种植结构" use2025-path :is-export="true" page="116">
              <BarCharts :source="barList1" :legend="true" :loading="false" :barWidth="15" :barRadius="[0, 0, 0, 0]"
                :grid="{ top: 40, bottom: -10, left: 20, right: 10 }" />
            </Card>
          </el-row>
          <el-row class="info-item cusHeight">
            <Card title="农作物种植效益"  use2025-path :is-export="true" page="119">
              <BarCharts :source="barList2"  :barWidth="15" :barRadius="[0,0,0,0]" :legend="true" :loading="false" :smooth="true" :area='true'
                :grid="{ top: 40, bottom: -10, left: 20, right: 10 }" :areaGradient="true" />
            </Card>
          </el-row>
          <el-row class="info-item cusHeight">
            <Card title="戈壁生态设施农业情况" :is-export="true" page="132">
              <BarCharts :source="barList3" :legend="true" :loading="false" :barWidth="15" :barRadius="[0, 0, 0, 0]"
                :grid="{ top: 40, bottom: -10, left: 20, right: 10 }" />
            </Card>
          </el-row>
        </div>
        <!-- 第三行 -->
        <div class="info-container">
          <el-row class="info-item cusHeight">
            <Card title="农产品品牌情况" :is-export="true" page="133">
              <BarCharts :source="barList6" :legend="true" :loading="false" :barWidth="15" :barRadius="[0, 0, 0, 0]"
                :grid="{ top: 40, bottom: -10, left: 20, right: 10 }" />
            </Card>
          </el-row>
          <el-row class="info-item cusHeight">
            <Card title="现代种业产业链发展情况" :is-export="true" page="134">
              <BarCharts :source="barList7" :legend="true" :loading="false" :barWidth="15" :barRadius="[0, 0, 0, 0]"
                :grid="{ top: 40, bottom: -8, left: 20, right: 10 }" />
            </Card>
          </el-row>
          <el-row class="info-item cusHeight">
            <Card title="优质蔬菜产业链发展情况" :is-export="true" page="143">
              <BarCharts :source="barList8" :legend="true" :loading="false" :barWidth="15" :barRadius="[0, 0, 0, 0]"
                :grid="{ top: 40, bottom: -10, left: 20, right: 10 }" />
            </Card>
          </el-row>
        </div>
        <!-- 第四行 -->
        <div class="info-container">
          <el-row class="info-item cusHeight">
            <Card title="辣椒产业链发展情况"  use2025-path :is-export="true" page="138">
              <BarCharts :source="barList9" :legend="true" :loading="false" :barWidth="15" :barRadius="[0, 0, 0, 0]"
                :grid="{ top: 40, bottom: -10, left: 20, right: 10 }" />
            </Card>
          </el-row>
          <el-row class="info-item cusHeight">
            <Card title="洋葱产业链发展情况" use2025-path  :is-export="true" page="152">
              <BarCharts :source="barList10" :legend="true" :loading="false" :barWidth="15" :barRadius="[0, 0, 0, 0]"
                :grid="{ top: 40, bottom: -10, left: 20, right: 10 }" />
            </Card>
          </el-row>
          <el-row class="info-item cusHeight">
            <Card title="特色林果产业链发展情况" :is-export="true" page="128">
              <BarCharts :source="barList11" :legend="true" :loading="false" :barWidth="15" :barRadius="[0, 0, 0, 0]"
                :grid="{ top: 40, bottom: -10, left: 20, right: 10 }" />
            </Card>
          </el-row>
        </div>
        <!-- 第五行 -->
        <div class="info-container">
          <el-row class="info-item cusHeight">
            <Card title="白酒生产企业及小作坊情况" :is-export="true" page="162">
              <TableComponent :headers="headers2" :data="tableData2" />
            </Card>
          </el-row>
          <el-row class="info-item cusHeight">
            <Card title="肉羊产业链发展情况" :is-export="true" page="163">
              <BarCharts :source="barList13" :legend="true" :loading="false" :barWidth="15" :barRadius="[0, 0, 0, 0]"
                :grid="{ top: 40, bottom: -10, left: 20, right: 10 }" />
            </Card>
          </el-row>
          <el-row class="info-item cusHeight">
            <Card title="肉牛产业链发展情况" :is-export="true" page="166">
              <BarCharts :source="barList14" :legend="true" :loading="false" :barWidth="15" :barRadius="[0, 0, 0, 0]"
                :grid="{ top: 40, bottom: -10, left: 20, right: 10 }" />
            </Card>
          </el-row>
        </div>
        <!-- 第六行 -->
        <div class="info-container">
          <el-row class="info-item cusHeight">
            <Card title="生猪产业链发展情况" :is-export="true" page="168">
              <BarCharts :source="barList15" :legend="true" :loading="false" :barWidth="15" :barRadius="[0, 0, 0, 0]"
                :grid="{ top: 40, bottom: -10, left: 20, right: 10 }" />
            </Card>
          </el-row>
          <el-row class="info-item cusHeight">
            <Card title="草产业发展情况"  use2025-path :is-export="true" page="168">
              <BarCharts :source="barList16" :legend="true" :loading="false" :barWidth="15" :barRadius="[0, 0, 0, 0]"
                :grid="{ top: 40, bottom: -10, left: 20, right: 10 }" />
            </Card>
          </el-row>
          <el-row class="info-item cusHeight">
            <Card title="畜牧产业发展情况" :is-export="true" use2025-path page="169">
              <BarCharts :source="barList17" :legend="true" :loading="false" :barWidth="15" :barRadius="[0, 0, 0, 0]"
                :grid="{ top: 40, bottom: -10, left: 20, right: 10 }" />
            </Card>
          </el-row>
        </div>
        <!-- 第七行 -->
        <div class="info-container">
          <el-row class="info-item cusHeight">
            <Card title="畜牧产业发展计划"  use2025-path :is-export="true" page="170">
              <BarCharts :source="barList18" :legend="true" :loading="false" :barWidth="15" :barRadius="[0, 0, 0, 0]"
                :grid="{ top: 40, bottom: -10, left: 20, right: 10 }" />
            </Card>
          </el-row>
          <el-row class="info-item cusHeight">
            <Card title="国土绿化情况"  use2025-path :is-export="true" page="185">
              <BarCharts :source="barList19" :legend="true" :loading="false" :barWidth="15" :barRadius="[0, 0, 0, 0]"
                :grid="{ top: 40, bottom: -10, left: 20, right: 10 }" />
            </Card>
          </el-row>
          <el-row class="info-item cusHeight">
            <Card title="高标准农田建设情况"  use2025-path :is-export="true" page="123">
              <BarCharts :source="barList20" :legend="true" :loading="false" :barWidth="15" :barRadius="[0, 0, 0, 0]"
                :grid="{ top: 40, bottom: -10, left: 20, right: 10 }" />
            </Card>
          </el-row>
        </div>
        <!-- 第八行 -->
        <div class="info-container">
          <el-row class="info-item cusHeight">
            <Card title="脱贫攻坚及乡村振兴有效帮扶情况" use2025-path :is-export="true" page="179">
              <BarCharts :source="barList21" :legend="true" :loading="false" :barWidth="15" :barRadius="[0, 0, 0, 0]"
                :grid="{ top: 40, bottom: -10, left: 20, right: 10 }" />
            </Card>
          </el-row>
          <el-row class="info-item cusHeight">
            <Card title="农房改造情况" :is-export="true" page="176">
              <BarCharts :source="barList22" :legend="true" :loading="false" :barWidth="15" :barRadius="[0, 0, 0, 0]"
                :grid="{ top: 40, bottom: -10, left: 20, right: 10 }" />
            </Card>
          </el-row>
          <el-row class="info-item cusHeight">
            <Card title="生态及地质灾害避险搬迁情况" :is-export="true" page="177">
              <BarCharts :source="barList23" :legend="true" :loading="false" :barWidth="15" :barRadius="[0, 0, 0, 0]"
                :grid="{ top: 40, bottom: -10, left: 20, right: 10 }" />
            </Card>
          </el-row>
        </div>
        <!-- 第九行 -->
        <div class="info-container">
          <el-row class="info-item cusHeight">
            <Card title="农村基础设施情况" :is-export="true" page="178">
              <BarCharts :source="barList24" :legend="true" :loading="false" :barWidth="15" :barRadius="[0, 0, 0, 0]"
                :grid="{ top: 40, bottom: -10, left: 20, right: 10 }" />
            </Card>
          </el-row>
          <el-row class="info-item cusHeight">
            <Card title="移民情况统计表" :is-export="true" page="179">
              <BarCharts :source="barList25" :legend="true" :loading="false" :barWidth="15" :barRadius="[0, 0, 0, 0]"
                :grid="{ top: 40, bottom: -10, left: 20, right: 10 }" />
            </Card>
          </el-row>
          <el-row class="info-item cusHeight">
            <Card title="农业产业园区情况" :is-export="true" page="181">
              <TableComponent :headers="headers3" :data="tableData3" />
            </Card>
          </el-row>
        </div>
        <!-- 第十行 -->
        <div class="info-container">
          <el-row class="info-item cusHeight">
            <Card title="农业产业化龙头企业情况"  use2025-path :is-export="true" page="171">
              <BarCharts :source="barList27" :legend="true" :loading="false" :barWidth="15" :barRadius="[0, 0, 0, 0]"
                :grid="{ top: 40, bottom: -10, left: 20, right: 10 }" />
            </Card>
          </el-row>
          <el-row class="info-item cusHeight">
            <Card title="农业新型经营主体建设情况" use2025-path :is-export="true" page="178">
              <BarCharts :source="barList28" :legend="true" :loading="false" :barWidth="15" :barRadius="[0, 0, 0, 0]"
                :grid="{ top: 40, bottom: -10, left: 20, right: 10 }" />
            </Card>
          </el-row>
          <el-row class="info-item cusHeight">
            <Card title="水资源概况"  use2025-path :is-export="true" page="186">
              <el-row :gutter="10" style="width: 100%;height:50%;padding: 10px 0">
                <el-col style="height: 100%" :span="4">
                </el-col>
                <el-col style="height: 100%" :span="8">
                  <CategoryProportion number="6.51亿m³" text="地表水（全区资源总量）"></CategoryProportion>
                </el-col>
                <el-col style="height: 100%" :span="8">
                  <CategoryProportion number="6.24亿m³" text="地下水（全区资源总量）"></CategoryProportion>
                </el-col>
                <el-col style="height: 100%" :span="4">
                </el-col>
              </el-row>
              <el-row :gutter="10" style="width: 100%;height:50%;padding: 10px 0">
                <el-col style="height: 100%" :span="8">
                  <CategoryProportion number="42700万m³" text="地表水（全区用水量）"></CategoryProportion>
                </el-col>
                <el-col style="height: 100%" :span="8">
                  <CategoryProportion number="23281万m³" text="地下水（全区用水量）"></CategoryProportion>
                </el-col>
                <el-col style="height: 100%" :span="8">
                  <CategoryProportion number="1101万m³" text="再生水（全区用水量）"></CategoryProportion>
                </el-col>
              </el-row>
            </Card>
          </el-row>
        </div>
        <!-- 第十一行 -->
        <div class="info-container">
          <el-row class="info-item cusHeight">
            <Card title="河流情况" :is-export="true" page="191">
              <TableComponent :headers="headers4" :data="tableData4" />
            </Card>
          </el-row>
          <el-row class="info-item cusHeight">
            <Card title="河流名录" :is-export="true" page="193">
              <TableComponent :headers="headers5" :data="tableData5" />
            </Card>
          </el-row>
          <el-row class="info-item cusHeight">
            <Card title="水库情况" :is-export="true" page="197">
              <BarCharts :source="barList32" :legend="true" :loading="false" :barWidth="15" :barRadius="[0, 0, 0, 0]"
                :grid="{ top: 40, bottom: -10, left: 20, right: 10 }" />
            </Card>
          </el-row>
        </div>
        <!-- 第十二行 -->
        <div class="info-container">
          <el-row class="info-item cusHeight">
            <Card title="湖库名录" :is-export="true" page="198">
              <TableComponent :headers="headers6" :data="tableData6" />
            </Card>
          </el-row>
          <el-row class="info-item cusHeight">
            <Card title="机井情况" :is-export="true" page="203">
              <BarCharts :source="barList34" :legend="true" :loading="false" :barWidth="15" :barRadius="[0, 0, 0, 0]"
                :grid="{ top: 40, bottom: -10, left: 20, right: 10 }" />
            </Card>
          </el-row>
          <el-row class="info-item cusHeight">
            <Card title="大中型灌区情况" :is-export="true" page="204">
              <BarCharts :source="barList35" :legend="true" :loading="false" :barWidth="15" :barRadius="[0, 0, 0, 0]"
                :grid="{ top: 40, bottom: -12, left: 20, right: 10 }" />
            </Card>
          </el-row>
        </div>
        <!-- 第十三行 -->
        <div class="info-container">
          <el-row class="info-item cusHeight">
            <Card title="水资源管理情况" :is-export="true" page="205">
              <BarCharts :source="barList36" :legend="true" :loading="false" :barWidth="15" :barRadius="[0, 0, 0, 0]"
                :grid="{ top: 40, bottom: -14, left: 20, right: 10 }" />
            </Card>
          </el-row>
          <el-row class="info-item cusHeight">
            <Card title="水网建设规划重点项目" :is-export="true" page="206">
              <el-row :gutter="10" style="width: 100%;height:50%;padding: 10px 0">
                <el-col style="height: 100%" :span="8">
                  <CategoryProportion number="23项" text="水网建设规划重点项目"></CategoryProportion>
                </el-col>
                <el-col style="height: 100%" :span="8">
                  <CategoryProportion number="499825.54万元" text="匡算投资"></CategoryProportion>
                </el-col>
                <el-col style="height: 100%" :span="8">
                  <CategoryProportion number="43730万m³" text="供水能力（合计）"></CategoryProportion>
                </el-col>
              </el-row>
              <el-row :gutter="10" style="width: 100%;height:50%;padding: 10px 0">
                <el-col style="height: 100%" :span="6">
                  <CategoryProportion number="2672万m³" text="供水能力（生活）"></CategoryProportion>
                </el-col>
                <el-col style="height: 100%" :span="6">
                  <CategoryProportion number="25381万m³" text="供水能力（农业）"></CategoryProportion>
                </el-col>
                <el-col style="height: 100%" :span="6">
                  <CategoryProportion number="10097万m³" text="供水能力（工业）"></CategoryProportion>
                </el-col>
                <el-col style="height: 100%" :span="6">
                  <CategoryProportion number="5580万m³" text="供水能力（生态）"></CategoryProportion>
                </el-col>
              </el-row>
            </Card>
          </el-row>
          <el-row class="info-item cusHeight">
            <Card title="农村供水工程情况" :is-export="true" page="213">
              <BarCharts :source="barList38" :legend="true" :loading="false" :barWidth="15" :barRadius="[0, 0, 0, 0]"
                :grid="{ top: 40, bottom: -10, left: 20, right: 10 }" />
            </Card>
          </el-row>
        </div>
        <!-- 第十四行 -->
        <div class="info-container">
          <el-row class="info-item cusHeight">
            <Card title="供销社工作情况" :is-export="true" page="214">
              <BarCharts :source="barList39" :legend="true" :loading="false" :barWidth="15" :barRadius="[0, 0, 0, 0]"
                :grid="{ top: 40, bottom: -10, left: 20, right: 10 }" />
            </Card>
          </el-row>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import Card from "@/components/Card/Card.vue";
import TableComponent from "@/components/TableComponent.vue";
import BarCharts from "@/components/Charts/Bar.vue";
import LineCharts from "@/components/Charts/Line.vue";
import CategoryProportion from "@/components/CategoryProportion.vue";
import { staticImageToBase64 } from "@/utils/utils";
import geoJson from "@/assets/geo/suzhouqu.json";

const list = ['西峰镇', '果园镇', '银达镇', '泉湖镇', '铧尖镇', '三墩镇', '黄泥堡乡',
  '西洞镇', '总寨镇', '上坝镇', '东洞镇', '金佛寺镇', '丰乐镇', '清水镇', '下河清镇'];
export default {
  components: { CategoryProportion, LineCharts, BarCharts, TableComponent, Card },
  data() {
    return {
      cityName: '',
      tooltipShow: false,
      toolList: [],
      unit: '人',
      charts: {
        compositeChartOption: null,
        compositeChart: null,
        townshipChart: null,
        addedValueChart: null,
        structureChart: null,
        arricultureMap: null
      },
      //第二行
      barList1: {
        xData: list,
        yData: {
          '实际种植面积': [
            17632.00,
            41498.00,
            93846.40,
            45307.15,
            38263.78,
            98935.00,
            13467.00,
            35676.00,
            88762.72,
            84487.16,
            39240.00,
            92489.49,
            34149.00,
            85204.88,
            172249.45
          ],
        },
        yLabel: '单位：亩'
      },
      barList2: {
        xData: ['粮食作物', '经济作物', '其它作物'],
        yData: {
          '播种面积': [
            23.29, 69.53, 5.30
          ],
        },
        yLabel: '单位：万亩'
      },
      barList3: {
        xData: list,
        yData: {
          '2024年建设情况': [
            907.00,
            1058.50,
            1325.00,
            1600.00,
            1020.00,
            200.00,
            100.00,
            162.50,
            1002.50,
            553.00,
            3472.00,
            100.00,
            100.00,
            277.00,
            1000.00
          ],
        },
        yLabel: '单位：亩'
      },

      //第一行
      barList4: {
        xData: list,
        yData: {
          '农村人口情况': [
            7765, 13956, 20452, 19943, 9383,
            24195, 1651, 8228, 16870, 20451,
            8109, 15319, 5858, 19004, 6015
          ]
        },
        yLabel: '单位：人'
      },
      barList5: {
        xData: list,
        yData: {
          '农村家庭承包土地面积': [14118.43, 34714.15, 82059.88, 32083.90, 30540.00, 83268.62, 5669.89, 29689.55, 66987.61, 71790.61, 34098.38, 73583.17, 30588.12, 64856.39, 23074.01],
          '流转土地面积': [2957.00, 10734.22, 17754.48, 10070.15, 9534.30, 28206.00, 5403.00, 14928.67, 22385.00, 14332.00, 15877.00, 22896.78, 5034.20, 6324.50, 9024.00]
        },
        yLabel: '单位：亩'
      },

      //第三行
      barList6: {
        xData: ['果园镇', '银达镇', '泉湖镇', '铧尖镇', '三墩镇', '黄泥堡乡',
          '西洞镇', '总寨镇', '上坝镇', '东洞镇', '金佛寺镇', '下河清镇'],
        yData: {
          '三品一标': [121, 5, 20, 14, 1, 4, 1, 12, 42, 5, 11, 2, 4],
          '甘味': [21, 1, 2, 5, 0, 1, 0, 2, 6, 1, 1, 1, 1],
          '酒泉“十大农产品品牌”': [5, 0, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0]
        },
        yLabel: '单位：个'
      },
      barList7: {
        xData: ['玉米', '蔬菜', '花卉'],
        yData: {
          '普查收集': [265, 716, 320],
          '贮藏保存': [127706, 27464, 15000]
        },
        yLabel: '单位：份'
      },
      barList8: {
        xData: ['西峰镇', '果园镇', '银达镇', '泉湖镇', '铧尖镇', '三墩镇', '黄泥堡乡',
          '西洞镇', '总寨镇', '上坝镇', '东洞镇', '清水镇', '下河清镇'],
        yData: {
          '蔬菜': [0.54, 0.29, 1.06, 1.00, 0.41, 0.04, 0.01, 0.35, 0.77, 0.41, 1.06, 0, 0],
          '瓜类': [0.81, 0.03, 0, 0.05, 0.05, 0.40, 0, 0, 0.01, 0.01, 0.04, 0, 0.23]
        },
        yLabel: '单位：万亩'
      },

      //第四行
      barList9: {
        xData: [
          "果园镇", "银达镇", "泉湖镇", "铧尖镇", "三墩镇",
          "黄泥堡乡", "总寨镇", "上坝镇", "东洞镇", "下河清镇"
        ],
        yData: {
          '2024年种植情况（种植规模）': [0.06, 1.25, 0.15, 0.28, 3.00, 0.18, 0.13, 0.07, 0.03, 0.57]
        },
        yLabel: '单位：万亩'
      },
      barList10: {
        xData: [
          "西峰镇", "果园镇", "银达镇", "泉湖镇", "铧尖镇",
          "三墩镇", "黄泥堡乡", "总寨镇", "上坝镇", "东洞镇",
          "清水镇", "下河清镇"
        ],
        yData: {
          '2024年种植情况（种植规模）': [0.05, 0.23, 0.34, 0.12, 0.17, 0.29, 0.07, 0.37, 0.22, 0.18, 0.78, 0.31],

        },
        yLabel: '单位：万亩'
      },
      barList11: {
        xData: list,
        yData: {
          '特色林果': [1725.37, 1650.00, 1603.80, 1404.90, 897.30,
            58.60, 50.00, 11305.80, 2575.00, 2099.85,
            1588.00, 8351.78, 1770.00, 3696.60, 980.10],
          '食药同源': [0, 157.00, 420.00, 24.00, 93.00,
            120.00, 695.00, 0, 660.00, 3100.00,
            0, 0, 45.00, 247.00, 1700.00]
        },
        yLabel: '种植规模：亩'
      },

      //第五行
      barList12: {
        xData: list,
        yData: {
          '农村家庭承包土地面积': [],
          '流转土地面积': []
        },
        yLabel: '单位：亩'
      },
      barList13: {
        xData: list,
        yData: {
          '2024年肉羊饲养量': [5.11, 10.13, 15.66, 23.97, 12.54, 24.41, 4.99, 9.97, 27.45, 16.02, 14.25, 26.38, 21.03, 31.89, 12.09],
          '2025年肉羊计划饲养量': [5.00, 10.60, 16.30, 26.40, 12.80, 23.10, 5.30, 10.30, 31.80, 16.80, 14.50, 26.70, 23.50, 33.30, 13.60]
        },
        yLabel: '单位：万只'
      },
      barList14: {
        xData: list,
        yData: {
          '2024年肉牛饲养量': [0.21, 0.67, 0.98, 1.78, 0.43, 1.13, 0.12, 0.68, 1.23, 1.86, 2.13, 4.84, 2.09, 4.37, 1.43],
          '2025年肉牛计划饲养量': [0.24, 0.70, 1.20, 1.90, 0.50, 1.00, 0.15, 0.80, 1.50, 2.20, 2.10, 4.20, 2.20, 4.80, 1.50]
        },
        yLabel: '单位：万头'
      },

      //第六行
      barList15: {
        xData: list,
        yData: {
          '2024年生猪饲养量': [2.06, 1.36, 3.21, 2.40, 2.17, 5.51, 0.39, 0.79, 2.02, 1.46, 2.62, 0.93, 0.66, 1.16, 0.74],
          '2025年生猪计划饲养量': [2.00, 1.67, 3.82, 2.50, 2.30, 5.00, 0.45, 0.92, 2.61, 1.86, 2.70, 1.15, 0.78, 1.44, 0.88]
        },
        yLabel: '单位：万头'
      },
      barList16: {
        xData: list,
        yData: {
          '紫花苜蓿种植面积': [90.29, 0.03, 4.86, 5.04, 2.03, 10.16, 9.87, 5.04, 1.88, 10.34, 15.07, 1.85, 3.26, 2.17, 8.96, 9.73],
          ' 燕麦、豌豆、青贮玉米种植面积': [4.00, 0.21, 0.18, 0.38, 0.16, 0.32, 0.25, 0.23, 0.17, 0.38, 0.46, 0.22, 0.18, 0.21, 0.24, 0.41]
        },
        yLabel: '单位：千亩'
      },
      barList17: {
        xData: list,
        yData: {
          '总饲养量': [147.58, 57.10, 226.35, 156.83, 38.97, 144.29, 9.30, 29.65, 120.82, 60.23, 38.94, 71.06, 39.14, 75.21, 34.56],
          '总出栏量': [110.81, 33.00, 139.81, 89.84, 22.86, 95.26, 5.74, 18.85, 72.37, 34.88, 20.94, 33.63, 26.73, 45.10, 19.22]
        },
        yLabel: '单位：万头只'
      },

      //第七行
      barList18: {
        xData: list,
        yData: {
          '总出栏量': [118.08, 35.70, 149.62, 97.06, 24.95, 102.54, 6.40, 20.62, 79.20, 37.68, 22.98, 37.09, 29.67, 49.85, 21.00],
        },
        yLabel: '单位：万头只'
      },
      barList19: {
        xData: list,
        yData: {
          '2024年完成情况': [
            15,
            57.8,
            1377.6,
            72,
            247.6,
            200,
            39,
            26.3,
            90.5,
            164,
            56,
            93.1,
            45,
            317.4,
            66
          ],
          '2025年计划': [
            1400,
            20,
            0,
            80,
            70,
            200,
            25,
            60,
            200,
            190,
            30,
            140,
            95,
            170,
            120
          ]
        },
        yLabel: '单位：亩'
      },
      barList20: {
        xData: list,
        yData: {
          '耕地': [1.36, 4.58, 13.54, 4.72, 7.19, 13.27, 2.32, 4.48, 10.40, 13.52, 5.64, 13.31, 5.83, 11.54, 13.56]
        },
        yLabel: '单位：万亩'
      },

      //第八行
      barList21: {
        xData: list,
        yData: {
          '系统内脱贫人口数': [79, 232, 1273, 419, 567, 1081, 317, 609, 1049, 667, 855, 1313, 683, 1165, 430]
        },
        yLabel: '单位：人'
      },
      barList22: {
        xData: list,
        yData: {
          '农房现状': [1841, 3697, 7480, 3393, 2595, 6433, 439, 2135, 4891, 4856, 1991, 4466, 1303, 5091, 957],
          '农房改造': [401, 1363, 723, 84, 100, 268, 443, 822, 934, 903, 1107, 501, 1054, 250]
        },
        yLabel: '单位：户'
      },
      barList23: {
        xData: ['金佛寺镇', '三墩镇', '清水镇', '丰乐镇', '东洞镇', '银达镇', '泉湖镇',
          '下河清镇', '西洞镇', '上坝镇', '铧尖镇', '总寨镇', '黄泥堡乡'],
        yData: {
          '2024年度任务': [123, 279, 183, 71, 34, 0, 0, 0, 0, 0, 0, 0],
          '2025年度任务': [507, 430, 332, 149, 114, 179, 79, 71, 65, 29, 23, 16, 53]
        },
        yLabel: '单位：个'
      },

      //第九行
      barList24: {
        xData: list,
        yData: {
          '垃圾处理': [97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97],
          '路灯安装': [55.50, 60.00, 81.00, 83.00, 57.30, 37.30, 72.00, 40.95, 33.00, 53.40, 62.00, 82.80, 53.27, 50.79],
          '清洁用能': [16.01, 84.89, 6.10, 4.51, 6.41, 34.40, 3.70, 12.33, 16.01, 34.78, 5.31, 30.00, 0.62, 14.22],
        },
        yLabel: '单位：覆盖率(%)'
      },
      barList25: {
        xData: ['西峰镇', '果园镇', '银达镇', '泉湖镇', '铧尖镇', '三墩镇', '黄泥堡乡',
          '西洞镇', '总寨镇', '上坝镇', '金佛寺镇', '丰乐镇', '清水镇', '下河清镇'],
        yData: {
          '人口情况': [170, 0, 409, 595, 24, 96, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
        },
        yLabel: '单位：户'
      },
      barList26: {
        xData: list,
        yData: {
          '农村家庭承包土地面积': [],
          '流转土地面积': []
        },
        yLabel: '单位：亩'
      },

      //第十行
      barList27: {
        xData: ['国家级龙头企业', '省级龙头企业', '市级龙头企业', '区级龙头企业'],
        yData: {
          '企业类型': [3, 24, 24, 4,]
        },
        yLabel: '单位：家'
      },
      barList28: {
        xData: list,
        yData: {
          '农业产业化龙头企业': [55, 44, 106, 20, 68, 12, 124, 4, 12, 273, 155, 48, 7, 45, 11, 106],
          '合作社': [1035, 44, 106, 20, 68, 12, 124, 4, 12, 273, 155, 48, 7, 45, 11, 106],
          '家庭农场': [883, 24, 6, 380, 222, 10, 27, 9, 29, 188, 555, 15, 12, 61, 29, 16],
        },
        yLabel: '单位：家'
      },
      barList29: {
        xData: list,
        yData: {
          '农村家庭承包土地面积': [],
          '流转土地面积': []
        },
        yLabel: '单位：亩'
      },

      //第十一行
      barList30: {
        xData: list,
        yData: {
          '农村家庭承包土地面积': [],
          '流转土地面积': []
        },
        yLabel: '单位：亩'
      },
      barList31: {
        xData: list,
        yData: {
          '农村家庭承包土地面积': [],
          '流转土地面积': []
        },
        yLabel: '单位：亩'
      },
      barList32: {
        xData: [
          "西峰镇", "果园镇", "银达镇", "泉湖镇", "铧尖镇",
          "三墩镇", "黄泥堡乡", "西洞镇", "总寨镇", "上坝镇",
          "东洞镇", "金佛寺镇", "丰乐镇", "清水镇", "下河清镇",
          "西南街街道", "西北街街道", "东南街街道", "东北街街道"
        ],
        yData: {
          '中型': [1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          '小（1）型': [9, 0, 1, 2, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0],
          '小（2）型': [32, 0, 1, 14, 2, 8, 2, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0],
        },
        yLabel: '单位：座'
      },

      //第十二行
      barList33: {
        xData: list,
        yData: {
          '农村家庭承包土地面积': [],
          '流转土地面积': []
        },
        yLabel: '单位：亩'
      },
      barList34: {
        xData: [
          "肃州区城市供排水服务中心", "洪临灌区", "清水河灌区", "讨南灌区", "讨北灌区", "马营河灌区", "其它"
        ],
        yData: {
          '机井总数': [24, 1859, 436, 181, 356, 4, 3]
        },
        yLabel: '单位：眼'
      },
      barList35: {
        xData: [
          "洪临灌区", "丰乐河灌区", "马营河灌区", "清水河灌区", "讨南灌区", "讨北灌区", "红山河灌区", "观山河灌区"
        ],
        yData: {
          '设计灌溉面积': [32.00, 13.53, 9.70, 10.99, 6.00, 6.00, 2.83, 1.37],
          '有效灌溉面积': [53.10, 20.32, 10.21, 11.63, 5.94, 9.14, 2.90, 1.28],
          '实际灌溉面积': [48.48, 9.32, 9.99, 10.34, 5.02, 6.36, 2.83, 1.49],
        },
        yLabel: '单位：万亩'
      },

      //第十三行
      barList36: {
        xData: [
          "洪临灌区",
          "清水河灌区",
          "讨南灌区",
          "讨北灌区",
          "马营河灌区",
          "丰乐河灌区",
          "观山河灌区",
          "红山河灌区",
          "肃州区城市供排水服务中心"
        ],
        yData: {
          '2024年用水总量控制目标值': [32932, 5031, 4000, 4914, 7223, 8100, 1200, 2300, 2300],
          ' 2024年用水总量完成值': [34581, 4994, 3944, 5070, 5965, 5935, 1157, 2155, 2180]
        },
        yLabel: '单位：亩'
      },
      barList37: {
        xData: list,
        yData: {
          '农村家庭承包土地面积': [],
          '流转土地面积': []
        },
        yLabel: '单位：亩'
      },
      barList38: {
        xData: list,
        yData: {
          '供水户数': [2940, 4927, 9121, 4437, 3047, 7108, 445, 2169, 6794, 6890, 2394, 4961, 1601, 4943, 2786],
        },
        yLabel: '单位：户'
      },

      //第十四行
      barList39: {
        xData: list,
        yData: {
          '乡镇基层社': [0, 1, 2, 0, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 2, 1, 0],
          '村级综合服务社': [7, 6, 13, 8, 5, 12, 3, 5, 9, 9, 7, 12, 2, 12, 4],
          '领办农民专业合作社': [0, 1, 10, 12, 6, 8, 0, 5, 5, 7, 5, 5, 2, 7, 1],
        },
        yLabel: '单位：开放办社加盟的基层社(个)'
      },

      headers1: ["类别", "主要目标", "存在短板", "工作措施"],
      tableData1: [
        ["种植业产值增长", "12%", "1. 蔬菜产业扶持资金少，缺少龙头企业带动。", "1. 加大招商引资力度，招大引强，带动产业发展。"],
        ["畜牧业产值增长", "8%", "2. 牛羊养殖以小农户、小规模散养居多，占全区的50%，这种分散式饲养受土地、资金约束不能形成规模，专业化、规模化、标准化生产水平还不高，抵御市场风险的能力较弱。", "2. 加大政策、资金、项目支持，对具备一定生产、加工、销售规模的重点企业、专业合作社，在扶持资金、项目建设等方面予以倾斜，扶持企业做大做强，推动畜牧业产业向规模化、标准化生产发展。"],
        ["粮食播种面积", "40.3万亩以上", "", ""],
        ["制种面积", "45.00万亩", "", ""],
        ["蔬菜面积", "30.00万亩", "", ""],
        ["中药材面积", "0.72万亩", "", ""],
        ["瓜类面积", "1.50万亩", "", ""],
        ["新增戈壁生态设施农业", "1.20万亩", "", ""],
        ["畜禽饲养总量", "产量22.5万吨以上", "", ""],
        ["牛", "饲养量25.00万头", "", ""],
        ["羊", "出栏量270.00万头只", "", ""],
        ["生猪", "出栏量30.08万头", "", ""],
        ["鸡", "出栏量975.16万头只", "", ""],
        ["实施重点项目", "完成固定资产投资10.8亿元以上", "争取中央和省级财政资金2.99亿元以上", "招商引资到位资金达到18亿元"],
      ],
      headers2: ["序号", "企业名称", "所在地", "负责人", "联系方式", "香型", "主要品牌", "年产销量(吨)", "年营业额(万元)", "税收贡献(万元)", "备注"],
      tableData2: [
        ["1", "甘肃酒泉汉武酒业有限责任公司", "肃州区飞天路575号", "茹加德", "13830786611", "浓香型", "汉武御系列 航天神舟系列 酒泉酒系列", "1000.00", "9000.00", "4000.00", ""],
        ["2", "酒泉金雨酒业有限责任公司", "肃州区金佛寺镇金镇街68号", "马守明", "13893752679", "浓香型", "东方金樽智丽特", "50.00", "300.00", "15.00", ""],
        ["3", "甘肃酒泉御品贡酒业有限公司", "肃州区果园镇高闸村3组（原北闸沟小学）", "黄学斌", "15193728806", "浓香型", "御品贡窖中窖", "13.00", "30.00", "10.00", ""],
        ["4", "酒泉市金泉酒业有限责任公司", "肃州区果园镇酒果路3号", "陈会建", "13909376925 1383073803", "浓香型", "金泉 吟酒听泉 风之魂", "12.00", "100.00", "12.00", ""],
        ["5", "甘肃省泉中酒酒酒业有限公司", "肃州区果园镇中所沟村委会对面", "杜建云", "18993766408 1399375820", "浓香型", "泉中玉液 泉中酒", "5.00", "10.00", "0", ""],
        ["6", "肃州区银泉红纯粮酒作坊", "肃州区银达镇银达村8组8号", "张欣", "18909377488", "清香型", "银泉红", "5.00", "12.00", "0", ""],
        ["7", "肃州区湘客酿酒坊", "肃州区大众巷11号1-1-5号门店（明珠花园北门西侧）", "费六明", "18793727688", "清香型", "湘客酒", "3.00", "8.00", "0", ""],
        ["8", "肃州区总寨镇肃宝酒坊", "肃州区总寨镇三奇堡村（原牌路村委会）", "王国海", "18794732885", "清香型", "肃宝原浆", "2.00", "8.00", "0", ""],
        ["9", "肃州区一口香酒坊", "肃州区银达镇怀中村8组3号", "谢维山", "13830784866", "浓香型", "一口香", "2.00", "8.00", "0", ""],
        ["10", "肃州区醉仙酿酒坊", "肃州区祁连路17号怡顺园5号楼14号、15号门店", "张猛", "13893839044", "清香型", "张记醉仙酒", "0.30", "2.00", "0", ""],
        ["11", "肃州区老魏家酿酒坊", "肃州区银达镇余新村2组5号", "魏兴春", "15097225338", "清香型", "老魏家", "0.25", "1.00", "0", ""],
        ["12", "肃州区沁贡食品加工店", "肃州区果园镇滨河北路25-19号门店", "王东卫", "18141575517", "-", "-", "-", "-", "-", "新开办 尚未生产"],
        ["13", "肃州区仙沁泉食品加工坊", "肃州区果园镇高闸沟村3组38号", "陈勇豪", "19190328862", "-", "-", "-", "-", "-", "新开办 尚未生产"]
      ],
      headers3: [
        "序号",
        "园区名称",
        "级别",
        "批准成立时间",
        "主导产业",
        "园区规模及主要建设内容",
        "园区骨干企业"
      ],
      tableData3: [
        ["1", "肃州区国家现代农业示范区", "国家级", "2012年农业部认定的第二批国家现代农业示范区", "蔬菜、制种和草畜三大产业", "示范区围绕“一区两带三产业”功能布局，规划建设了城郊综合农业区、中北部蔬菜和高效经作制种及沿山草畜产业和杂交制种玉米两个复合产业带，大力发展蔬菜、制种和草畜三大产业，布局建设以设施种植、标准化养殖、高效节水、加工物流和高效制种为主的十大农业产业园区，入园企业达到221家、农民专业合作社达到1260家。", "甘肃省敦煌种业股份有限公司、酒泉市春光贸易有限公司、酒泉市巨龙腾飞种业有限责任公司、酒泉敦煌种业百佳食品有限公司、大敦煌农产品有限公司、甘肃巨龙供销（集团）股份有限公司"],
        ["2", "肃州区国家现代农业产业园", "国家级", "2020年农业部认定的第三批国家现代农业产业园", "种业", "肃州区国家现代农业产业园是2020年农业农村部、财政部认定的以现代种业为主导产业的国家级现代农业产业园，按照“一轴一园两区十基地”规划布局，总规划面积25万亩，涉及10个乡镇，实施基础设施改造提升等6大类25个项目，重点建成南郊、总寨2个种子加工园、银达种子商务科研核心示范区，以及汇聚种子“研发、生产、加工、物流、营销、推广、科普、培训、博览、旅游”十大功能于一体的国家优势特色种业示范区。目前共引进培育种子企业150家左右，常年稳定制种面积30万亩，年产各类种子1亿公斤以上，产值30亿元，其中玉米种子产量占全国的10%，蔬菜、花卉种子出口量占到全国的50%以上，已经连续四届举办了现代种业博览会，是全国最大的蔬菜花卉制种基地、对外贸易制种基地，全国杂交玉米制种大县和区域性良种繁育基地。", "甘肃同辉共创农业有限公司、酒泉庆和农业开发有限公司、酒泉盛天农业发展有限公司、酒泉芯农研种业科技有限责任公司、酒泉市同庆种业有限责任公司、酒泉华美种业有限公司、甘肃荃银大漠种业有限公司、甘肃安德福种业有限公司、酒泉奥翔种业有限责任公司、酒泉市种子协会"],
        ["3", "中以（酒泉）绿色生态产业园", "省级", "2018年12月", "蔬菜、林果、涉农服务业、研学旅游业", "园区规划面积322平方公里，包括东洞、总寨两个戈壁生态农业产业园和酒泉经济技术开发区南园部分区域，重点发展高效设施蔬菜种植、节水装备制造、农业产品精深加工、农旅结合等六大产业，园区经过五年发展，整合各类投资17亿元，形成了4万亩戈壁生态农业的承载能力。先后引进企业和合作社46家，建成4140座标准化日光温室、11万平方米智能连栋温室、8000万株工厂化育苗，形成15万吨有机肥加工和20万立方米冷链仓储能力，初步形成了集育苗种植、分拣加工、冷链物流、有机肥加工等为一体的全产业链体系。", "东汇冷链物流集散中心、水发浩海（酒泉）农业开发有限公司、肃森乐源农业发展有限公司、酒泉诚德农业农民专业合作社、酒泉广美农业科技有限公司、陌上发肥业公司、丝路寒旱集团、康多有机肥生产厂"]
      ],
      headers4: [
        "序号",
        "河流名称",
        "流域面积（平方公里）",
        "划界河长（公里）",
        "流经区域",
        "年径流量（亿立方米）",
        "备注"
      ],
      tableData4: [
        [
          "合计",
          "-",
          "-",
          "-",
          "-",
          "12.21",
          "-"
        ],
        [
          "1",
          "讨赖河",
          "19828",
          "39.20",
          "三墩镇、银达镇、西峰镇、泉湖镇、果园镇、西北街街道、东北街街道、西南街街道",
          "6.53",
          "-"
        ],
        [
          "2",
          "洪水河",
          "2017",
          "55.18",
          "西湖镇、总寨镇、三墩镇、泉湖镇、铧尖镇、东洞镇、东南街街道",
          "2.50",
          "-"
        ],
        [
          "3",
          "马营河",
          "2382",
          "58.96",
          "清水镇",
          "1.16",
          "-"
        ],
        [
          "4",
          "丰乐河",
          "2147",
          "56.70",
          "金佛寺镇、下河清镇、丰乐镇",
          "0.99",
          "-"
        ],
        [
          "5",
          "观山河",
          "1257",
          "24.76",
          "金佛寺镇",
          "0.28",
          "-"
        ],
        [
          "6",
          "红山河",
          "445",
          "60.30",
          "金佛寺镇、上坝镇、铧尖镇、黄泥堡乡",
          "0.19",
          "-"
        ],
        [
          "7",
          "黄草塘可",
          "376",
          "3043",
          "清水镇",
          "0.11",
          "-"
        ],
        [
          "8",
          "榆林坝河",
          "184",
          "23.48",
          "清水镇",
          "0.11",
          "-"
        ],
        [
          "9",
          "清水河",
          "158",
          "36.08",
          "三墩镇、银达镇、果园镇",
          "0.31",
          "-"
        ],
        [
          "10",
          "文殊沙河",
          "493",
          "8.33",
          "西涧镇、西峰镇",
          "-",
          "山洪沟道，常年干满"
        ],
        [
          "11",
          "白沙河 (洪临灌区)",
          "269",
          "52.92",
          "总寨镇、东洞镇、上坝镇",
          "-",
          "山洪沟道，常年干满"
        ],
        [
          "12",
          "闫家大沙河",
          "-",
          "17.62",
          "东洞镇、上坝镇",
          "-",
          "山洪沟道，常年干满"
        ],
        [
          "13",
          "秦家沙河",
          "97",
          "23.17",
          "总寨镇、东洞镇",
          "-",
          "山洪沟道，常年干满"
        ],
        [
          "14",
          "罗圈沟沙河",
          "-",
          "30.62",
          "金佛寺镇、西峰镇、上坝镇",
          "-",
          "山洪沟道，常年干满"
        ],
        [
          "15",
          "红沙河",
          "-",
          "10.01",
          "金佛寺镇",
          "-",
          "山洪沟道，常年干满"
        ],
        [
          "16",
          "黄羊池沙河",
          "-",
          "4.82",
          "金佛寺镇",
          "-",
          "山洪沟道，常年干满"
        ],
        [
          "17",
          "白沙河 (红山灌区)",
          "-",
          "7.10",
          "金佛寺镇",
          "-",
          "山洪沟道，常年干满"
        ],
        [
          "18",
          "白沙河 (丰乐灌区)",
          "-",
          "12.77",
          "金佛寺镇",
          "-",
          "山洪沟道，常年干满"
        ],
        [
          "19",
          "甘坝河",
          "133",
          "26.50",
          "丰乐镇",
          "-",
          "山洪沟道，常年干满"
        ],
        [
          "20",
          "西二大石河",
          "-",
          "1.76",
          "清水镇",
          "-",
          "山洪沟道，常年干满"
        ],
        [
          "21",
          "胜字号石河",
          "-",
          "16.12",
          "清水镇",
          "-",
          "山洪沟道，常年干满"
        ],
        [
          "22",
          "夹子沟河",
          "101",
          "31.55",
          "清水镇",
          "-",
          "山洪沟道，常年干满"
        ],
        [
          "23",
          "双坝峡 泄洪河道",
          "-",
          "7.48",
          "果园镇",
          "-",
          "山洪沟道，常年干满"
        ],
        [
          "24",
          "桶罐河",
          "-",
          "16.09",
          "东洞镇",
          "-",
          "山洪沟道，常年干满"
        ],
        [
          "25",
          "何家沙河",
          "178",
          "1.90",
          "东洞镇",
          "-",
          "山洪沟道，常年干满"
        ],
        [
          "26",
          "杨家沙河",
          "56",
          "11.13",
          "东洞镇",
          "-",
          "山洪沟道，常年干满"
        ],
        [
          "27",
          "钻洞湖",
          "183",
          "38.18",
          "银达镇",
          "-",
          "以酒泉市第一次水利普查成果为依据命名，是连接水库的河流，由地表河流及地下潜流组成"
        ],
        [
          "28",
          "北大湖",
          "51",
          "16.71",
          "总寨镇、铧尖镇",
          "-",
          "以酒泉市第一次水利普查成果为依据命名，山洪沟道，常年干满"
        ],
        [
          "29",
          "囊泥湖",
          "-",
          "9.80",
          "银达镇",
          "-",
          "以酒泉市第一次水利普查成果为依据命名，是连接水库的河流，由地表河流及地下潜流组成"
        ]
      ],
      headers5: [
        "序号",
        "名称",
        "级别",
        "划界河长（公里）",
        "流经区域",
        "河长姓名及职务",
        "备注"
      ],
      tableData5: [
        [
          "1",
          "讨赖河",
          "省级",
          "39.20",
          "西北街街道、东北街街道、西南街街道、西峰镇、果园镇、银达镇、泉湖镇、三墩镇",
          "石谋军（市委副书记、副市长）",
          "-"
        ],
        [
          "2",
          "丰乐河",
          "区级",
          "56.70",
          "金佛寺镇、丰乐镇、下河清镇",
          "范志俊（区委常委、区政府党组成员）",
          "-"
        ],
        [
          "3",
          "红山河",
          "区级",
          "60.30",
          "金佛寺镇、上坝镇、铧尖镇、黄泥堡乡",
          "李阳（金佛寺镇政府副镇长）",
          "-"
        ],
        [
          "4",
          "清水河",
          "区级",
          "36.03",
          "三墩镇、银达镇、果园镇",
          "冯丽莎（三墩镇政府副镇长）",
          "-"
        ],
        [
          "5",
          "洪水河",
          "区级",
          "55.18",
          "东洞镇、西洞镇、东南街街道、总寨镇、泉湖镇、三墩镇",
          "罗莹莹（东洞镇纪委书记）、李丹阳（东洞镇）、西洞镇政府副镇长、叶冬梅（东南街街道办事处党工委书记）、王东仁（东南街街道办事处主任）、马超龙（总寨镇政府副镇长）、薛强德（曼泰镇政府副镇长）、葛鹏飞（意泰镇武装部长）、王锐（泉湖镇政府副镇长）、赵国付（泉湖镇政府副镇长）、爱方富（泉湖镇武装部部长）、徐锦前（锦尖镇党委副书记）、杨龙（兰墩镇政府副镇长）",
          "-"
        ],
        [
          "6",
          "文殊沙河",
          "区级",
          "8.33",
          "西洞镇、西峰镇",
          "于永远（西洞镇武装部长）、何志军（西峰镇人大主席）",
          "-"
        ],
        [
          "7",
          "白沙河（洪临灌区）",
          "区级",
          "52.92",
          "总寨镇、东洞镇、上坝镇",
          "魏东炫（东洞镇党委副书记）、李宁（总寨镇党委副书记）、魏晓燕（总寨镇组织委员）、张昕（上坝镇政府副镇长）、吴丹（上坝镇政府副镇长）",
          "-"
        ],
        [
          "8",
          "闫家大沙河",
          "区级",
          "17.20",
          "东洞镇、上坝镇",
          "秦娜（东洞镇组织委员）、于永鹏（上坝镇政府副镇长）",
          "-"
        ],
        [
          "9",
          "秦家沙河",
          "区级",
          "23.17",
          "总寨镇、东洞镇",
          "贺吉军（东洞镇人大主席）、葛鹏飞（总寨镇武装部长）",
          "-"
        ],
        [
          "10",
          "罗圈沟沙河",
          "区级",
          "30.62",
          "金佛寺镇、西峰镇、上坝镇",
          "王斌（副区长）、白燕（金佛寺镇政府副镇长）、陈瑞（西峰镇武装部长）、高星辰（上坝镇武装部长）",
          "-"
        ],
        [
          "11",
          "钻洞湖",
          "区级",
          "38.18",
          "银达镇",
          "卢燕（副区长）、马获邦（银达镇纪委书记）",
          "以酒泉市第一次水利普查成果为依据命名"
        ],
        [
          "12",
          "北大湖",
          "区级",
          "16.71",
          "总寨镇、铧尖镇",
          "乔世祥（副区长）、薛强德（总寨镇政府副镇长）、王玉祥（铧尖镇政府副镇长）",
          "以酒泉市第一次水利普查成果为依据命名"
        ],
        [
          "13",
          "观山河",
          "乡级",
          "24.76",
          "金佛寺镇",
          "白燕（金佛寺镇政府副镇长）",
          "-"
        ],
        [
          "14",
          "红沙河",
          "乡级",
          "10.01",
          "金佛寺镇",
          "李阳（金佛寺镇政府副镇长）",
          "-"
        ],
        [
          "15",
          "黄羊池沙河",
          "乡级",
          "4.82",
          "金佛寺镇",
          "白燕（金佛寺镇政府副镇长）",
          "-"
        ],
        [
          "16",
          "白沙河（红山灌区）",
          "乡级",
          "7.10",
          "金佛寺镇",
          "李阳（金佛寺镇政府副镇长）",
          "-"
        ],
        [
          "17",
          "白沙河（丰乐灌区）",
          "乡级",
          "12.77",
          "金佛寺镇",
          "石占刚（金佛寺镇组织委员）",
          "-"
        ],
        [
          "18",
          "甘坝河",
          "乡级",
          "26.50",
          "丰乐镇",
          "张雪莲（丰乐镇政府副镇长）",
          "-"
        ], [
          "19",
          "马营河",
          "乡级",
          "58.96",
          "清水镇",
          "王斌斌（清水镇武装部长）",
          "-"
        ],
        [
          "20",
          "榆林坝河",
          "乡级",
          "23.48",
          "清水镇",
          "马超（清水镇政府副镇长）",
          "-"
        ],
        [
          "21",
          "黄草坝河",
          "乡级",
          "30.43",
          "清水镇",
          "马超（清水镇政府副镇长）",
          "-"
        ],
        [
          "22",
          "西二大石河",
          "乡级",
          "1.76",
          "清水镇",
          "李泽儒（清水镇政府副镇长）",
          "-"
        ],
        [
          "23",
          "胜字号石河",
          "乡级",
          "16.12",
          "清水镇",
          "李泽儒（清水镇政府副镇长）",
          "-"
        ],
        [
          "24",
          "夹子沟河",
          "乡级",
          "31.55",
          "清水镇",
          "李泽儒（清水镇政府副镇长）",
          "-"
        ],
        [
          "25",
          "双坝峡 泄洪河道",
          "乡级",
          "7.48",
          "果园镇",
          "赵丽（果园镇农业服务中心主任）",
          "-"
        ],
        [
          "26",
          "桶罐河",
          "乡级",
          "16.09",
          "东洞镇",
          "张富泰（东洞镇政府副镇长）",
          "-"
        ],
        [
          "27",
          "何家沙河",
          "乡级",
          "1.90",
          "东洞镇",
          "吴强（东洞镇武装部长）",
          "-"
        ],
        [
          "28",
          "杨家沙河",
          "乡级",
          "11.13",
          "东洞镇",
          "殷慧（东洞镇政府副镇长）",
          "-"
        ],
        [
          "29",
          "囊泥湖",
          "乡级",
          "9.80",
          "银达镇",
          "石浩良（银达镇组织委员）",
          "以酒泉市第一次水利普查成果为依据命名"
        ]
      ],
      headers6: [
        "序号",
        "名称",
        "级别",
        "划界面积（平方千米）",
        "所在乡镇、街道",
        "工程规模",
        "库容（万立方米）",
        "区级湖长",
        "乡镇（街道）级湖长",
        "备注"
      ],
      tableData6: [
        ["1", "洪水河水库", "-", "-", "西洞镇", "中型", "4900", "-", "-", "在建水库，暂未划界，暂未确定湖长"],
        ["2", "花园水库", "区级", "0.36", "银达镇", "小（1）型", "117.2", "刘晓龙 银达镇党委副书记", "-", "-"],
        ["3", "下黄水水库", "区级", "0.62", "银达镇", "小（2）型", "36.2", "高爽 银达镇党委副书记", "-", "-"],
        ["4", "张家海子水库", "区级", "0.34", "银达镇", "小（2）型", "21.7", "张仲鹏 银达镇政府副镇长", "-", "-"],
        ["5", "茂东沟水库", "区级", "0.36", "银达镇", "小（2）型", "26.6", "赵子龙 银达镇武装部长", "-", "-"],
        ["6", "孙家坝水库", "区级", "0.46", "银达镇", "小（2）型", "20.4", "石浩浪 银达镇组织委员", "-", "-"],
        ["7", "郎家坝水库", "区级", "0.37", "银达镇", "小（2）型", "33.2", "张延星 银达镇人大主席", "-", "-"],
        ["8", "秦家观湖水库", "区级", "0.82", "银达镇", "小（2）型", "38.6", "张仲鹏 银达镇政府副镇长", "-", "-"],
        ["9", "大东沟水库", "区级", "0.16", "银达镇", "小（2）型", "10", "韩正文 银达镇综治中心主任", "-", "-"],
        ["10", "大西沟水库", "区级", "0.20", "银达镇", "小（2）型", "21.2", "张延星 银达镇人大主席", "-", "-"],
        ["11", "景家嘴水库", "区级", "0.18", "银达镇", "小（2）型", "22", "张雁 银达镇农业农村综合服务中心主任", "-", "-"],
        ["12", "四清坝水库", "区级", "0.28", "银达镇", "小（2）型", "29.7", "田慧 银达镇执法大队队长", "-", "-"],
        ["13", "石家海子水库", "区级", "0.61", "银达镇", "小（2）型", "11.5", "刘恒德 银达镇司法所所长", "-", "-"],
        ["14", "三屋海子水库", "区级", "0.25", "银达镇", "小（2）型", "40", "运天琦 银达镇政府副镇长", "-", "-"],
        ["15", "月牙湖水库", "区级", "0.24", "银达镇", "小（2）型", "52.7", "运天琦 银达镇政府副镇长", "-", "-"],
        ["16", "陈家嘴水库", "区级", "0.35", "银达镇", "小（2）型", "21", "张雁 银达镇农业农村综合服务中心主任", "-", "-"],
        ["17", "锅盖梁水库", "区级", "0.76", "银达镇", "小（1）型", "140.5", "卢燕 副区长", "彭燕霞 银达镇便民服务中心主任", "-"],
        ["18", "郑国寺水库", "区级", "0.40", "果园镇", "小（1）型", "121", "孙占峰 区委常委、常务副区长", "闫廷国 果园镇政府副镇长", "-"],
        ["19", "魏家湾水库", "区级", "0.35", "果园镇", "小（2）型", "68", "卢燕 副区长", "董杰 果园镇政府副镇长", "-"],
        ["20", "临水七一水库", "区级", "0.96", "三墩镇", "小（1）型", "108", "乔世祥 副区长", "杨龙 三墩镇政府副镇长", "-"],
        ["21", "羊路水库", "区级", "0.12", "三墩镇", "小（2）型", "15", "贾平先 副区长、酒泉市公安局肃州分局局长", "付洪涛 三墩镇政府副镇长", "-"],
        ["22", "串河水库", "区级", "0.10", "三墩镇", "小（2）型", "10", "贾平先 副区长、酒泉市公安局肃州分局局长", "付铁涛 三墩镇政府副镇长", "-"],
        ["23", "夹边沟水库", "区级", "0.82", "三墩镇", "小（1）型", "141", "柏炜 区委常委、副区长", "冯丽莎 三墩镇政府副镇长", "-"],
        ["24", "杨家坝水库", "区级", "0.18", "泉湖镇", "小（2）型", "12", "贾平先 副区长、酒泉市公安局肃州分局局长", "梅萧 泉湖镇农业服务中心主任", "-"],
        ["25", "沙滩二号水库", "区级", "0.12", "泉湖镇", "小（2）型", "12.4", "贾平先 副区长、酒泉市公安局肃州分局局长", "张仲秀 泉湖镇综合行政执法大队队长", "-"],
        ["26", "小河湾水库", "区级", "0.19", "铧尖镇", "小（2）型", "27", "崔永举 铧尖镇政府副镇长", "-", "-"],
        ["27", "于家海子水库", "区级", "0.68", "铧尖镇", "小（2）型", "53.6", "徐锦刚 铧尖镇党委副书记", "-", "-"],
        ["28", "焦家嘴水库", "区级", "0.73", "铧尖镇", "小（1）型", "129.1", "乔世祥 副区长", "王金龙 铧尖镇组织委员", "-"],
        ["29", "付家海子水库", "区级", "0.56", "铧尖镇", "小（2）型", "33.3", "乔世祥 副区长", "王金龙 铧尖镇组织委员", "-"],
        ["30", "漫水滩水库", "区级", "0.78", "铧尖镇", "小（2）型", "52.7", "乔世祥 副区长", "王玉祥 铧尖镇政府副镇长", "-"],
        ["31", "铧尖七一水库", "区级", "0.62", "铧尖镇", "小（1）型", "105", "乔世祥 副区长", "王玉祥 铧尖镇政府副镇长", "-"],
        ["32", "铧尖二一水库", "区级", "0.37", "铧尖镇", "小（2）型", "23.3", "乔世祥 副区长", "王玉祥 铧尖镇政府副镇长", "-"],
        ["33", "集泉张家海子水库", "区级", "0.23", "铧尖镇", "小（2）型", "12.8", "乔世祥 副区长", "崔永举 铧尖镇政府副镇长", "-"],
        ["34", "五道海子水库", "区级", "0.29", "铧尖镇", "小（2）型", "19.8", "乔世祥 副区长", "张建鹏 铧尖镇武装部长", "-"],
        ["35", "四道海子水库", "区级", "0.17", "铧尖镇", "小（2）型", "24", "乔世祥 副区长", "张建鹏 铧尖镇武装部长", "-"],
        ["36", "夹山子水库", "区级", "0.83", "清水镇", "小（1）型", "570", "范志俊 区委常委、区政府党组成员", "李泽儒 清水镇政府副镇长", "-"],
        ["37", "二坝一号水库", "区级", "0.23", "金佛寺镇", "小（2）型", "82", "范志俊 区委常委、区政府党组成员", "石占刚 金佛寺镇组织委员", "-"],
        ["38", "二坝二号水库", "区级", "0.14", "金佛寺镇", "小（2）型", "47.3", "范志俊 区委常委、区政府党组成员", "石占刚 金佛寺镇组织委员", "-"],
        ["39", "大庄水库", "区级", "0.15", "丰乐镇", "小（2）型", "64", "范志俊 区委常委、区政府党组成员", "白兴鹏 丰乐镇武装部长", "-"],
        ["40", "四坝海子水库", "区级", "0.17", "东南街街道", "小（2）型", "29", "贾平先 副区长、酒泉市公安局肃州分局局长", "王东仁 东南街街道办事处主任", "-"],
        ["41", "首场沟水库", "区级", "0.16", "西南街街道", "小（2）型", "67", "王斌 副区长", "殷瑛 西南街街道办事处主任", "-"],
        ["42", "莫高湖水库", "区级", "0.43", "西北街街道", "小（1）型", "145", "王斌 副区长", "岳丽萍 西北街街道办事处副主任", "-"],
        ["43", "西汉胜迹泉湖", "区级", "0.06", "东北街街道", "-", "10", "贾平先 副区长、酒泉市公安局肃州分局局长", "李娜 东北街街道办事处党工委书记", "湖泊"],
        ["44", "北郊公园泊湖", "区级", "0.05", "东北街街道", "-", "8.3", "陶渊 区委副书记", "李娜 东北街街道办事处党工委书记", "湖泊"],
        ["45", "花城湖", "区级", "0.71", "银达镇", "-", "-", "卢燕 副区长", "彭燕霞 银达镇便民服务中心主任", "湖泊"]
      ],
      headers7: [
        "序号",
        "项目名称",
        "建设地点",
        "建设内容",
        "匡算投资(万元)",
        "2024年投资",
        "2025年投资",
        "2025年后投资",
        "计划开工年份",
        "水源",
        "供水对象",
        "供水能力合计(万立方米)",
        "供水能力生活(万立方米)",
        "供水能力农业(万立方米)",
        "供水能力工业(万立方米)",
        "供水能力生态(万立方米)",
        "备注"
      ],
      tableData7: [
        ["1", "肃州区洪水河水库", "西洞镇", "新建水库一座，总库容4910万立方米", "109600", "20000", "9877", "-", "2024年开工", "洪水河", "肃州区城区", "29302", "2672", "19026", "6167", "1442", "已完成投资3亿元"],
        ["2", "祁连山沿山重点河流骨干调蓄工程", "金佛寺镇", "新建引水闸，设计库容250万立方米", "13500", "13500", "-", "-", "2024年开工", "观山河", "观山河灌区", "250", "-", "250", "-", "-"],
        ["3", "下河清镇调蓄水池项目", "下河清镇", "新建200万立方米调蓄水池", "13496", "8600", "4896", "-", "2024年开工", "洪水河丰乐", "下河清镇", "202", "-", "202", "-", "-"],
        ["4", "祁连山沿山重点河流骨干调蓄工程", "金佛寺镇", "新建引水闸，设计库容300万立方米", "16250", "-", "16250", "-", "2025年开工", "红山河", "红山河灌区", "300", "-", "300", "-", "-"],
        ["5", "肃州区引观浙江工程", "金佛寺镇", "将观山河的水通过渠道引至红山河灌区", "500", "-", "500", "-", "2025年开工", "观山河", "红山河灌区", "300", "-", "520", "160", "120"],
        ["6", "祁连山沿山重点河流骨干调蓄工程", "金佛寺镇丰乐镇", "新建引水闸，设计库容400万立方米", "15750", "-", "15750", "-", "2025年开工", "丰乐河", "丰乐河灌区", "450", "-", "450", "-", "-"],
        ["7", "肃州区浅山区水资源配置工程", "东洞镇总寨镇上坝镇下河清镇", "新建取水设施，铺设压力管道", "47572", "-", "47572", "-", "2025年后开工", "洪水河水库", "洪临福区", "2000", "-", "2000", "-", "-"],
        ["8", "祁连山沿山重点河流骨干调蓄工程", "清水镇", "新建引水渠首及0.4km输水渠，规划建设400万方调蓄水池", "16925", "-", "16925", "-", "2025年后开工", "马营河", "马营河区", "50", "-", "50", "-", "-"],
        ["9", "东洞镇调蓄工程", "东洞镇", "新建调蓄水库1座，规划总库容400万立方米", "24190", "-", "24190", "-", "2025年后开工", "洪水河水库", "东洞镇", "200", "-", "200", "-", "-"],
        ["10", "西峰镇调蓄工程", "西峰镇", "规划建设一座库容300万立方米的庙沙河水库", "21408", "-", "21408", "-", "2025年后开工", "洪水河", "西峰镇", "250", "-", "250", "-", "-"],
        ["11", "夹山子水库二期扩容改造工程", "清水镇", "将夹山子水库坝高由现状32.5米增加至38.5米", "13450", "-", "13450", "-", "2025年后开工", "马营河", "马营河灌区", "350", "-", "350", "-", "-"],
        ["12", "真高潮水库扩容改造工程", "桌面镇", "将真高潮水库库容由现状145万立方米增加至250万立方米", "3000", "-", "3000", "-", "2025年后开工", "真高潮水库", "肃州区", "100", "-", "100", "-", "-"],
        ["13", "肃州区西峰镇供水工程", "城区西峰镇泉湖镇", "以洪水河水库为水源，铺设供水管线13km至第二水源水厂", "30917", "-", "30917", "-", "2025年后开工", "洪水河水库", "城区", "750", "-", "750", "-", "-"],
        ["14", "东洞镇供水工程", "东洞镇", "从肃州区浅山区水资源配置工程在洪水河水库的取水设施取水", "17097", "-", "17097", "-", "2025年后开工", "洪水河水库", "东洞镇", "200", "-", "200", "-", "-"],
        ["15", "肃州区讨北供水建设项目", "三墩镇", "新建千吨万人水厂1座，将三墩镇等区域纳入讨北供水", "8577.54", "-", "8577.54", "-", "2025年开工", "讨北河", "讨北灌区", "60", "-", "60", "-", "-"],
        ["16", "肃州区一体化供水建设项目", "丰乐镇", "新建管道向丰乐河水厂供水，保障丰乐镇等用水", "5974", "-", "5974", "-", "2025年开工", "金佛寺镇", "丰乐镇", "150", "-", "150", "-", "-"],
        ["17", "肃州区清水河片区水系连通项目", "银达镇", "通过改建清水河片区骨干渠道，提升水库调蓄能力", "14900", "-", "14900", "-", "2025年开工", "清水河", "肃州区", "1200", "-", "1200", "-", "-"],
        ["18", "肃州区临水河片区水系连通项目", "泉湖镇", "通过改建临水河片区骨干渠道，提升水库调蓄能力", "6430", "-", "6430", "-", "2025年开工", "临水河", "肃州区", "1200", "-", "1200", "-", "-"],
        ["19", "肃州区清水河美丽河湖项目", "银达镇", "对清水河银达镇至花园段进行生态治理", "30500", "-", "30500", "-", "2025年开工", "清水河", "清水灌区", "200", "-", "200", "-", "-"],
        ["20", "肃州区讨北河-花城湖水系连通项目", "银达镇", "改建连通渠道10公里，新建生态护堤等", "24774", "-", "24774", "-", "2025年开工", "清水河", "清水灌区", "200", "-", "200", "-", "-"],
        ["21", "肃州区酒泉市城区应急备用水源调蓄水池项目", "西洞镇", "新建600万立方米调蓄水池", "29722", "-", "29722", "-", "2025年后开工", "洪水河", "西洞镇南郊工业园区", "3043", "291", "2080", "672", "-"],
        ["22", "肃州区总寨镇备用水源调蓄池项目", "总寨镇", "新建引水渠首1座，输水渠0.6km，调蓄水库1座", "13878", "-", "13878", "-", "2025年后开工", "上坝河", "上坝镇", "761", "73", "520", "168", "-"],
        ["23", "肃州区西峰镇备用水源调蓄池项目", "总寨镇", "在西峰镇规划建设一座库容250万立方米的水库", "21408", "-", "21408", "-", "2025年后开工", "洪水河", "西峰镇西郊工业园区", "1712", "164", "1170", "378", "-"]
      ]

    };
  },
  methods: {
    async initChart(id) {
      if (!this.charts[id]) {
        this.charts[id] = this.$echarts.init(document.getElementById(id));
        this.charts[id].showLoading({
          text: '加载中',
          textColor: '#fff',
          maskColor: 'rgba(0,0,0,0)'
        })
        if (id === 'arricultureMap') {
          this.charts[id].on('mouseover', (e) => {
            this.cityName = e.componentType === 'markPoint' ? e.data.cityName : e.name;
            let list = [
              {
                "tow": "西峰镇",
                "data": [
                  {
                    "name": "人口情况",
                    "value": 11311,
                    "unit": "人"
                  },
                  {
                    "name": "土地经营情况",
                    "value": 14118.43,
                    "unit": "亩"
                  },
                  {
                    "name": "农作物种植",
                    "value": 17632,
                    "unit": "亩"
                  },
                  {
                    "name": "辣椒产业链",
                    "value": 0,
                    "unit": "万亩"
                  },
                  {
                    "name": "洋葱产业链",
                    "value": 0.05,
                    "unit": "万亩"
                  },
                  {
                    "name": "高标准农田",
                    "value": 1.36,
                    "unit": "万亩"
                  }
                ]
              },
              {
                "tow": "果园镇",
                "data": [
                  {
                    "name": "人口情况",
                    "value": 15013,
                    "unit": "人"
                  },
                  {
                    "name": "土地经营情况",
                    "value": 34714.15,
                    "unit": "亩"
                  },
                  {
                    "name": "农作物种植",
                    "value": 41498.00,
                    "unit": "亩"
                  },
                  {
                    "name": "辣椒产业链",
                    "value": 0.06,
                    "unit": "万亩"
                  },
                  {
                    "name": "洋葱产业链",
                    "value": 0.23,
                    "unit": "万亩"
                  },
                  {
                    "name": "高标准农田",
                    "value": 4.58,
                    "unit": "万亩"
                  }
                ]
              },
              {
                "tow": "银达镇",
                "data": [
                  {
                    "name": "人口情况",
                    "value": 30496,
                    "unit": "人"
                  },
                  {
                    "name": "土地经营情况",
                    "value": 82059.88,
                    "unit": "亩"
                  },
                  {
                    "name": "农作物种植",
                    "value": 93846.40,
                    "unit": "亩"
                  },
                  {
                    "name": "辣椒产业链",
                    "value": 1.25,
                    "unit": "万亩"
                  },
                  {
                    "name": "洋葱产业链",
                    "value": 0.34,
                    "unit": "万亩"
                  },
                  {
                    "name": "高标准农田",
                    "value": 13.54,
                    "unit": "万亩"
                  }
                ]
              },
              {
                "tow": "泉湖镇",
                "data": [
                  {
                    "name": "人口情况",
                    "value": 20129,
                    "unit": "人"
                  },
                  {
                    "name": "土地经营情况",
                    "value": 32083.90,
                    "unit": "亩"
                  },
                  {
                    "name": "农作物种植",
                    "value": 45307.15,
                    "unit": "亩"
                  },
                  {
                    "name": "辣椒产业链",
                    "value": 0.15,
                    "unit": "万亩"
                  },
                  {
                    "name": "洋葱产业链",
                    "value": 0.12,
                    "unit": "万亩"
                  },
                  {
                    "name": "高标准农田",
                    "value": 4.72,
                    "unit": "万亩"
                  }
                ]
              },
              {
                "tow": "铧尖镇",
                "data": [
                  {
                    "name": "人口情况",
                    "value": 7942,
                    "unit": "人"
                  },
                  {
                    "name": "土地经营情况",
                    "value": 30540.00,
                    "unit": "亩"
                  },
                  {
                    "name": "农作物种植",
                    "value": 38263.78,
                    "unit": "亩"
                  },
                  {
                    "name": "辣椒产业链",
                    "value": 0.28,
                    "unit": "万亩"
                  },
                  {
                    "name": "洋葱产业链",
                    "value": 0.17,
                    "unit": "万亩"
                  },
                  {
                    "name": "高标准农田",
                    "value": 7.19,
                    "unit": "万亩"
                  }
                ]
              },
              {
                "tow": "三墩镇",
                "data": [
                  {
                    "name": "人口情况",
                    "value": 24320,
                    "unit": "人"
                  },
                  {
                    "name": "土地经营情况",
                    "value": 83268.62,
                    "unit": "亩"
                  },
                  {
                    "name": "农作物种植",
                    "value": 98935.00,
                    "unit": "亩"
                  },
                  {
                    "name": "辣椒产业链",
                    "value": 3.00,
                    "unit": "万亩"
                  },
                  {
                    "name": "洋葱产业链",
                    "value": 0.29,
                    "unit": "万亩"
                  },
                  {
                    "name": "高标准农田",
                    "value": 13.27,
                    "unit": "万亩"
                  }
                ]
              },
              {
                "tow": "黄泥堡乡",
                "data": [
                  {
                    "name": "人口情况",
                    "value": 1655,
                    "unit": "人"
                  },
                  {
                    "name": "土地经营情况",
                    "value": 5669.89,
                    "unit": "亩"
                  },
                  {
                    "name": "农作物种植",
                    "value": 13467.00,
                    "unit": "亩"
                  },
                  {
                    "name": "辣椒产业链",
                    "value": 0.18,
                    "unit": "万亩"
                  },
                  {
                    "name": "洋葱产业链",
                    "value": 0.07,
                    "unit": "万亩"
                  },
                  {
                    "name": "高标准农田",
                    "value": 2.32,
                    "unit": "万亩"
                  }
                ]
              },
              {
                "tow": "西洞镇",
                "data": [
                  {
                    "name": "人口情况",
                    "value": 8241,
                    "unit": "人"
                  },
                  {
                    "name": "土地经营情况",
                    "value": 29689.55,
                    "unit": "亩"
                  },
                  {
                    "name": "农作物种植",
                    "value": 35676.00,
                    "unit": "亩"
                  },
                  {
                    "name": "辣椒产业链",
                    "value": 0,
                    "unit": "万亩"
                  },
                  {
                    "name": "洋葱产业链",
                    "value": 0,
                    "unit": "万亩"
                  },
                  {
                    "name": "高标准农田",
                    "value": 4.48,
                    "unit": "万亩"
                  }
                ]
              },
              {
                "tow": "总寨镇",
                "data": [
                  {
                    "name": "人口情况",
                    "value": 20696,
                    "unit": "人"
                  },
                  {
                    "name": "土地经营情况",
                    "value": 66987.61,
                    "unit": "亩"
                  },
                  {
                    "name": "农作物种植",
                    "value": 88762.72,
                    "unit": "亩"
                  },
                  {
                    "name": "辣椒产业链",
                    "value": 0.13,
                    "unit": "万亩"
                  },
                  {
                    "name": "洋葱产业链",
                    "value": 0.37,
                    "unit": "万亩"
                  },
                  {
                    "name": "高标准农田",
                    "value": 10.40,
                    "unit": "万亩"
                  }
                ]
              },
              {
                "tow": "上坝镇",
                "data": [
                  {
                    "name": "人口情况",
                    "value": 21937,
                    "unit": "人"
                  },
                  {
                    "name": "土地经营情况",
                    "value": 71790.61,
                    "unit": "亩"
                  },
                  {
                    "name": "农作物种植",
                    "value": 84487.16,
                    "unit": "亩"
                  },
                  {
                    "name": "辣椒产业链",
                    "value": 0.07,
                    "unit": "万亩"
                  },
                  {
                    "name": "洋葱产业链",
                    "value": 0.22,
                    "unit": "万亩"
                  },
                  {
                    "name": "高标准农田",
                    "value": 13.52,
                    "unit": "万亩"
                  }
                ]
              },
              {
                "tow": "东洞镇",
                "data": [
                  {
                    "name": "人口情况",
                    "value": 2394,
                    "unit": "人"
                  },
                  {
                    "name": "土地经营情况",
                    "value": 34098.38,
                    "unit": "亩"
                  },
                  {
                    "name": "农作物种植",
                    "value": 39240.00,
                    "unit": "亩"
                  },
                  {
                    "name": "辣椒产业链",
                    "value": 0.03,
                    "unit": "万亩"
                  },
                  {
                    "name": "洋葱产业链",
                    "value": 0.18,
                    "unit": "万亩"
                  },
                  {
                    "name": "高标准农田",
                    "value": 5.64,
                    "unit": "万亩"
                  }
                ]
              },
              {
                "tow": "金佛寺镇",
                "data": [
                  {
                    "name": "人口情况",
                    "value": 4961,
                    "unit": "人"
                  },
                  {
                    "name": "土地经营情况",
                    "value": 73583.17,
                    "unit": "亩"
                  },
                  {
                    "name": "农作物种植",
                    "value": 92489.49,
                    "unit": "亩"
                  },
                  {
                    "name": "辣椒产业链",
                    "value": 0,
                    "unit": "万亩"
                  },
                  {
                    "name": "洋葱产业链",
                    "value": 0,
                    "unit": "万亩"
                  },
                  {
                    "name": "高标准农田",
                    "value": 13.31,
                    "unit": "万亩"
                  }
                ]
              },
              {
                "tow": "丰乐镇",
                "data": [
                  {
                    "name": "人口情况",
                    "value": 1601,
                    "unit": "人"
                  },
                  {
                    "name": "土地经营情况",
                    "value": 30588.12,
                    "unit": "亩"
                  },
                  {
                    "name": "农作物种植",
                    "value": 34149.00,
                    "unit": "亩"
                  },
                  {
                    "name": "辣椒产业链",
                    "value": 0,
                    "unit": "万亩"
                  },
                  {
                    "name": "洋葱产业链",
                    "value": 0,
                    "unit": "万亩"
                  },
                  {
                    "name": "高标准农田",
                    "value": 5.83,
                    "unit": "万亩"
                  }
                ]
              },
              {
                "tow": "清水镇",
                "data": [
                  {
                    "name": "人口情况",
                    "value": 4943,
                    "unit": "人"
                  },
                  {
                    "name": "土地经营情况",
                    "value": 64856.39,
                    "unit": "亩"
                  },
                  {
                    "name": "农作物种植",
                    "value": 85204.88,
                    "unit": "亩"
                  },
                  {
                    "name": "辣椒产业链",
                    "value": 0,
                    "unit": "万亩"
                  },
                  {
                    "name": "洋葱产业链",
                    "value": 0.78,
                    "unit": "万亩"
                  },
                  {
                    "name": "高标准农田",
                    "value": 11.54,
                    "unit": "万亩"
                  }
                ]
              },
              {
                "tow": "下河清镇",
                "data": [
                  {
                    "name": "人口情况",
                    "value": 1987,
                    "unit": "人"
                  },
                  {
                    "name": "土地经营情况",
                    "value": 23074.01,
                    "unit": "亩"
                  },
                  {
                    "name": "农作物种植",
                    "value": 172249.45,
                    "unit": "亩"
                  },
                  {
                    "name": "辣椒产业链",
                    "value": 0.57,
                    "unit": "万亩"
                  },
                  {
                    "name": "洋葱产业链",
                    "value": 0.31,
                    "unit": "万亩"
                  },
                  {
                    "name": "高标准农田",
                    "value": 13.56,
                    "unit": "万亩"
                  }
                ]
              }
            ]
            this.toolList = list.filter(item => item.tow === this.cityName).map(item => item.data)[0]
            this.tooltipShow = true
          });
          this.charts[id].on('mouseout', () => {
            this.tooltipShow = false;
          });
        }
      }
      let option = await this[id + 'Option']();
      this.charts[id].setOption(option);
      this.charts[id].hideLoading();
    },
    async arricultureMapOption() {
      let dataList = [{
        cityName: '西峰镇',
        "coord": [
          "98.476123",//西峰
          "39.733162"
        ]
      }, {
        cityName: '总寨镇',
        "coord": [
          "98.669292",
          "39.656433"
        ]
      }, {
        cityName: '银达镇',
        "coord": [
          "98.571037",
          "39.803381"
        ]
      }, {
        cityName: '三墩镇',
        "coord": [
          "98.731518",
          "39.788872"
        ]
      }, {
        cityName: '铧尖镇',
        "coord": [
          "98.657341",//铧尖
          "39.717085"
        ]
      }, {
        cityName: '上坝镇',
        "coord": [
          "98.712407",//上坝
          "39.612822"
        ]
      },
      {
        cityName: '下河清',
        "coord": [
          "98.980462",//下河清
          "39.560477"
        ]
      },
      {
        cityName: '东洞镇',
        "coord": [
          "98.63409",//东洞镇
          "39.551714"
        ]
      }, {
        cityName: '西洞镇',
        "coord": [
          "98.459281",//西洞镇
          "39.65431"
        ]
      },
      {
        cityName: '黄泥堡乡',
        "coord": [
          "98.834582",//黄泥堡乡
          "39.71755"
        ]
      },
      {
        cityName: '金佛寺镇',
        "coord": [
          "98.780061",//金佛寺镇
          "39.425904"
        ]
      }, {
        cityName: '丰乐镇',
        "coord": [
          "98.897147",//丰乐镇
          "39.389238"
        ]
      }, {
        cityName: '清水镇',
        "coord": [
          "99.065828",//清水镇
          "39.365553"
        ]
      },
      {
        cityName: '果园镇',
        "coord": [
          "98.486738",//果园镇
          "39.786748"
        ]
      },
      ];
      let electricPileIcon = await staticImageToBase64(require('@/assets/images/theme-blue/runing.png'));
      let geoCoordMap = {};
      const geoJson = require('@/assets/geo/suzhouqu.json');
      this.$echarts.registerMap('szq', { geoJSON: geoJson });
      geoJson.features.forEach(function (v) {
        var name = v.properties.name;
        // 地区经纬度
        geoCoordMap[name] = v.properties.centroid;
      });
      let size = '40%';
      let roam = false;
      let zoom = 3;
      return {
        geo: [{
          animationDuration: 0,
          animationDurationUpdate: 0,
          layoutCenter: ['50%', '55%'],//位置
          layoutSize: size,//大小
          show: true,
          map: 'szq',
          roam,
          zoom,
          aspectScale: 1,
          label: {
            normal: {
              show: false,
              textStyle: {
                color: '#fff',
                fontSize: 14
              }
            },
            emphasis: {
              show: true,
              textStyle: {
                color: '#fff'
              }
            }
          },
          select: {
            label: {
              color: '#fff'
            },
            itemStyle: {
              areaColor: {
                type: "linear",
                x: 6000,
                y: 0,
                x2: 0,
                y2: 0,
                colorStops: [{
                  offset: 0,
                  color: "rgba(3,27,78,0.75)", // 0% 处的颜色
                }, {
                  offset: 1,
                  color: "rgba(58,149,253,0.75)", // 50% 处的颜色
                },],
                global: true, // 缺省为 false
              },
              borderColor: "#c0f3fb",
              borderWidth: 1,
              shadowColor: "#8cd3ef",
              shadowOffsetY: 10,
              shadowBlur: 120,
            }
          },
          emphasis: {
            label: {
              color: '#fff'
            },
            itemStyle: {
              areaColor: {
                type: "linear",
                x: 6000,
                y: 0,
                x2: 0,
                y2: 0,
                colorStops: [{
                  offset: 0,
                  color: "rgba(3,27,78,0.75)", // 0% 处的颜色
                }, {
                  offset: 1,
                  color: "rgba(58,149,253,0.75)", // 50% 处的颜色
                },],
                global: true, // 缺省为 false
              },
              borderColor: "#c0f3fb",
              borderWidth: 1,
              shadowColor: "#8cd3ef",
              shadowOffsetY: 10,
              shadowBlur: 120,
            }
          },
          itemStyle: {
            normal: {
              areaColor: {
                type: "linear",
                x: 6000,
                y: 0,
                x2: 0,
                y2: 0,
                colorStops: [{
                  offset: 0,
                  color: "rgba(3,27,78,0.75)", // 0% 处的颜色
                }, {
                  offset: 1,
                  color: "rgba(58,149,253,0.75)", // 50% 处的颜色
                },],
                global: true, // 缺省为 false
              },
              borderColor: "#c0f3fb",
              borderWidth: 1,
              shadowColor: "#8cd3ef",
              shadowOffsetY: 10,
              shadowBlur: 120,
            },
          }
        }, {
          animationDuration: 0,
          animationDurationUpdate: 0,
          type: "map",
          map: 'szq',
          zlevel: -1,
          aspectScale: 1,
          zoom,
          layoutCenter: ["50%", "56%"],
          layoutSize: size,
          roam,
          silent: true,
          itemStyle: {
            normal: {
              borderWidth: 1,
              // borderColor:"rgba(17, 149, 216,0.6)",
              borderColor: "rgba(58,149,253,0.8)",
              shadowColor: "rgba(172, 122, 255,0.5)",
              shadowOffsetY: 5,
              shadowBlur: 15,
              areaColor: "rgba(5,21,35,0.1)",
            },
          },
        }, {
          animationDuration: 0,
          animationDurationUpdate: 0,
          type: "map",
          map: 'szq',
          zlevel: -2,
          aspectScale: 1,
          zoom,
          layoutCenter: ["50%", "57%"],
          layoutSize: size,
          roam,
          silent: true,
          itemStyle: {
            normal: {
              borderWidth: 1,
              // borderColor: "rgba(57, 132, 188,0.4)",
              borderColor: "rgba(58,149,253,0.6)",
              shadowColor: "rgba(65, 214, 255,1)",
              shadowOffsetY: 5,
              shadowBlur: 15,
              areaColor: "transpercent",
            },
          },
        }, {
          animationDuration: 0,
          animationDurationUpdate: 0,
          type: "map",
          map: 'szq',
          zlevel: -3,
          aspectScale: 1,
          zoom,
          layoutCenter: ["50%", "58%"],
          layoutSize: size,
          roam,
          silent: true,
          itemStyle: {
            normal: {
              borderWidth: 1,
              // borderColor: "rgba(11, 43, 97,0.8)",
              borderColor: "rgba(58,149,253,0.4)",
              shadowColor: "rgba(58,149,253,1)",
              shadowOffsetY: 15,
              shadowBlur: 10,
              areaColor: "transpercent",
            },
          },
        }, {
          animationDuration: 0,
          animationDurationUpdate: 0,
          type: "map",
          map: 'szq',
          zlevel: -4,
          aspectScale: 1,
          zoom,
          layoutCenter: ["50%", "59%"],
          layoutSize: size,
          roam,
          silent: true,
          itemStyle: {
            normal: {
              borderWidth: 5,
              // borderColor: "rgba(11, 43, 97,0.8)",
              borderColor: "rgba(5,9,57,0.8)",
              shadowColor: "rgba(29, 111, 165,0.8)",
              shadowOffsetY: 15,
              shadowBlur: 10,
              areaColor: "rgba(5,21,35,0.1)",
            },
          },
        },],
        series: [
          {
            animationDuration: 0,
            animationDurationUpdate: 0,
            type: 'map',
            map: 'szq',
            geoIndex: 0,
            aspectScale: 1,//长宽比
            zoom,
            showLegendSymbol: true,
            roam,
            markPoint: {
              symbol: 'image://' + electricPileIcon,
              symbolSize: [26, 26],
              data: dataList,
            },
          },
        ],
      };
    },
    async compositeChartOption() {
      // 数据结构配置
      const xData = [ '肃州区', '金塔县', '玉门市', '瓜州县', '敦煌市', '肃北县', '阿克塞县'];

      // 种植业数据（柱状图系列）
      const plantingData = {
        grain: [22.95, 14.43, 9.0, 6.5, 4.45, 0.4, 0.2],       // 粮食产量
        oil: [0.08, 0.2, 0.8, 0.2, 0.2, 0.02, 0.002],           // 油料产量
        vegetable: [ 86.5, 70.8, 25.8, 6.9, 7.3, 0.11, 0.01],  // 蔬菜产量
        herb: [0.2, 2.2, 3.63, 4.74, 0.09, 0.05, 0.09]         // 中药材产量
      };

      // 畜牧业数据（折线图系列）
      const livestockData = {
        cattle: [11.06, 0.88, 1.18, 1.3, 0.39, 1.63, 0.23],    // 牛存栏
        sheep: [ 108.00, 78.9, 80.4, 53.56, 37.73, 26.95, 15.4], // 羊存栏
        pig: [ 10.61, 5.04, 4.2, 2.55, 1.03, 0.18, 0.0]       // 猪存栏
      };

      return {
        tooltip: {
          trigger: 'axis',
          axisPointer: { type: 'shadow' }
        },
        legend: {
          data: ['粮食产量', '油料产量', '蔬菜产量', '中药材产量', '牛存栏', '羊存栏', '猪存栏'],
          top: 20,
          textStyle: { color: '#fff' },
          itemGap: 15,
          itemWidth: 10,  // 设置图例项的宽度
          itemHeight: 5  // 设置图例项的高度
        },
        grid: { top: 80, bottom: 30, left: 50, right: 50 },
        xAxis: [{
          type: 'category',
          data: xData,
          axisLabel: {
            color: '#A3A3C9',
            rotate: 30,
            fontSize: 10
          },
          axisLine: { lineStyle: { color: '#0B3771' } },
          axisTick: { show: false }
        }],
        yAxis: [
          { // 左侧Y轴（种植业）
            type: 'value',
            name: '产量 (万吨)',
            nameTextStyle: { color: '#A3A3C9' },
            axisLabel: { color: '#A3A3C9' },
            splitLine: { lineStyle: { color: 'rgba(199,199,200,0.1)' } }
          },
          { // 右侧Y轴（畜牧业）
            type: 'value',
            name: '存栏量 (万头/万只)',
            nameTextStyle: { color: '#A3A3C9' },
            axisLabel: { color: '#A3A3C9' },
            splitLine: { show: false }
          }
        ],
        series: [
          { // 粮食产量柱状图
            name: '粮食产量',
            type: 'bar',
            barWidth: 12,
            data: plantingData.grain,
            itemStyle: this.createGradient('#00C2FF'),
            label: { show: false, position: 'top', color: '#fff' }
          },
          { // 油料产量柱状图
            name: '油料产量',
            type: 'bar',
            barWidth: 12,
            data: plantingData.oil,
            itemStyle: this.createGradient('#4FF778'),
            label: { show: false, position: 'top', color: '#fff' }
          },
          { // 蔬菜产量柱状图
            name: '蔬菜产量',
            type: 'bar',
            barWidth: 12,
            data: plantingData.vegetable,
            itemStyle: this.createGradient('#FFB443'),
            label: { show: false, position: 'top', color: '#fff' }
          },
          { // 中药材产量柱状图
            name: '中药材产量',
            type: 'bar',
            barWidth: 12,
            data: plantingData.herb,
            itemStyle: this.createGradient('#FF5A5A'),
            label: { show: false, position: 'top', color: '#fff' }
          },
          // { // 牛存栏折线
          //   name: '牛存栏',
          //   type: 'line',
          //   yAxisIndex: 1,
          //   symbolSize: 2,
          //   data: livestockData.cattle,
          //   itemStyle: { color: '#FF00FF' },
          //   lineStyle: { width: 1, type: 'solid' }
          // },
          // { // 羊存栏折线
          //   name: '羊存栏',
          //   type: 'line',
          //   yAxisIndex: 1,
          //   symbolSize: 2,
          //   data: livestockData.sheep,
          //   itemStyle: { color: '#00FF00' },
          //   lineStyle: { width: 1, type: 'solid' }
          // },
          // { // 猪存栏折线
          //   name: '猪存栏',
          //   type: 'line',
          //   yAxisIndex: 1,
          //   symbolSize: 2,
          //   data: livestockData.pig,
          //   itemStyle: { color: '#00FFFF' },
          //   lineStyle: { width: 1, type: 'solid' }
          // }
        ]
      };
    },
    async townshipChartOption() {
      // 数据结构配置
      const xData = [
        '西峰镇', '果园镇', '银达镇', '泉湖镇', '铧尖镇', '三墩镇', '黄泥堡乡',
        '西洞镇', '总寨镇', '上坝镇', '东洞镇', '金佛寺镇', '丰乐镇', '清水镇', '下河清镇'
      ];

      // 种植业数据（柱状图系列）
      const plantingData = {
        grain: [

      0.11,
      0.84,
      2.40,
      0.58,
      1.04,
      2.17,
      0.10,
      0.67,
      1.62,
      2.87,
      1.21,
      3.95,
      1.64,
      3.21,
      0.52
    ], // 粮食产量
        oil: [10.7, 0, 224.4, 61.2, 37.8, 0, 0, 0, 0, 35.1, 58, 109.5, 94.2, 98.4, 0], // 油料产量
        vegetable: [ 5.04, 7.58, 14.10, 12.08, 3.67, 6.63, 0.76, 7.41, 13.14, 5.92, 4.03, 0.19, 0.23, 3.85, 1.87], // 蔬菜产量
        herb: [100, 105, 420, 0, 360.3, 1360, 0, 0, 280, 0, 0, 322, 301, 1395, 329.4] // 中药材产量
      };

      // 畜牧业数据（折线图系列）
      const livestockData = {
        cattle: [2874.72, 3624.72, 5104.48, 7797.15, 2021.25, 4592.55, 677.64, 0, 5019.68, 7184.86, 9824.62, 22260.23, 10475.24, 21276.83, 5908.93], // 牛存栏
        sheep: [5301.36, 4979.85, 8110.96, 11743.73, 5902.69, 15071.49, 2559.95, 0, 14944.35, 5829.74, 7230.59, 12728.61, 12724.95, 17523.88, 5193.18], // 羊存栏
        pig: [450.93, 812.60, 1854.53, 1397.79, 1390.28, 3428.92, 214.66, 0, 964.28, 955.81, 1359.26, 532.19, 404.02, 666.92, 411.73] // 猪存栏
      };

      return {
        tooltip: {
          trigger: 'axis',
          axisPointer: { type: 'shadow' }
        },
        legend: {
          data: ['粮食产量', '油料产量', '蔬菜产量', '中药材产量', '牛存栏产值', '羊存栏产值', '猪存栏产值'],
          top: 12,
          textStyle: { color: '#fff' },
          itemGap: 15,
          itemWidth: 10,  // 设置图例项的宽度
          itemHeight: 5  // 设置图例项的高度
        },
        grid: { top: 80, bottom: 30, left: 50, right: 50 },
        xAxis: [{
          type: 'category',
          data: xData,
          axisLabel: {
            color: '#A3A3C9',
            rotate: 30,
            fontSize: 10
          },
          axisLine: { lineStyle: { color: '#0B3771' } },
          axisTick: { show: false }
        }],
        yAxis: [
          { // 左侧Y轴（种植业）
            type: 'value',
            name: '产量 (万吨)',
            nameTextStyle: { color: '#A3A3C9' },
            axisLabel: { color: '#A3A3C9' },
            splitLine: { lineStyle: { color: 'rgba(199,199,200,0.1)' } }
          },
          { // 右侧Y轴（畜牧业）
            type: 'value',
            name: '产值 (万元)',
            nameTextStyle: { color: '#A3A3C9' },
            axisLabel: { color: '#A3A3C9' },
            splitLine: { show: false }
          }
        ],
        series: [
          { // 粮食产量柱状图
            name: '粮食产量',
            type: 'bar',
            barWidth: 12,
            data: plantingData.grain,
            itemStyle: this.createGradient('#00C2FF'),
            label: { show: false, position: 'top', color: '#fff' }
          },
          { // 油料产量柱状图
            name: '油料产量',
            type: 'bar',
            barWidth: 12,
            data: plantingData.oil,
            itemStyle: this.createGradient('#4FF778'),
            label: { show: false, position: 'top', color: '#fff' }
          },
          { // 蔬菜产量柱状图
            name: '蔬菜产量',
            type: 'bar',
            barWidth: 12,
            data: plantingData.vegetable,
            itemStyle: this.createGradient('#FFB443'),
            label: { show: false, position: 'top', color: '#fff' }
          },
          { // 中药材产量柱状图
            name: '中药材产量',
            type: 'bar',
            barWidth: 12,
            data: plantingData.herb,
            itemStyle: this.createGradient('#FF5A5A'),
            label: { show: false, position: 'top', color: '#fff' }
          },
          // { // 牛存栏折线
          //   name: '牛存栏',
          //   type: 'line',
          //   yAxisIndex: 1,
          //   symbolSize: 2,
          //   data: livestockData.cattle,
          //   itemStyle: { color: '#FF00FF' },
          //   lineStyle: { width: 1, type: 'solid' }
          // },
          // { // 羊存栏折线
          //   name: '羊存栏',
          //   type: 'line',
          //   yAxisIndex: 1,
          //   symbolSize: 2,
          //   data: livestockData.sheep,
          //   itemStyle: { color: '#00FF00' },
          //   lineStyle: { width: 1, type: 'solid' }
          // },
          // { // 猪存栏折线
          //   name: '猪存栏',
          //   type: 'line',
          //   yAxisIndex: 1,
          //   symbolSize: 2,
          //   data: livestockData.pig,
          //   itemStyle: { color: '#00FFFF' },
          //   lineStyle: { width: 1, type: 'solid' }
          // }
        ]
      };
    },
    async addedValueChartOption() {
      // 数据配置
      const towns = ['西峰镇', '果园镇', '银达镇', '泉湖镇', '铧尖镇', '三墩镇',
        '黄泥堡乡', '西洞镇', '总寨镇', '上坝镇', '东洞镇', '金佛寺镇',
        '丰乐镇', '清水镇', '下河清镇'
      ];

      const data2022 = [13225.27, 24550.64, 45745.47, 33832.99, 15983.08, 40096.21,
        4067.5, 22109.39, 42149.9, 34651.83, 22361.36, 42064.66, 21490.88, 41536.99, 16585.41
      ];

      const data2023 = [15369.05, 25387.44, 52197.07, 35325.52, 16993.96, 46180.33,
        4340.08, 24427.13, 47872.01, 36435.19, 24749.08, 45733.11, 22944.19, 45889.62, 17485.11
      ];

      const data2024 = [13852.40,
      26704.01,
      51106.72,
      37913.74,
      17399.96,
      43726.92,
      4113.59,
      23423.14,
      42744.15,
      37596.53,
      24108.44,
      41885.41,
      21371.99,
      41076.24,
      17019.36
      ];


      return {
        tooltip: {
          trigger: 'axis',
          formatter: params => {
            let tip = params[0].name + '<br>';
            params.forEach(item => {
              tip += `${item.marker} ${item.seriesName}: ${(item.value / 10000).toFixed(2)} 亿元<br>`;
            });
            return tip;
          }
        },
        legend: {
          data: ['2022年', '2023年','2024年'],
          top: 20,
          textStyle: { color: '#fff' },
          itemGap: 15,
          itemWidth: 10,  // 设置图例项的宽度
          itemHeight: 5  // 设置图例项的高度
        },
        grid: {
          top: 50,
          bottom: 8,
          left: 25,
          right: 20,
          containLabel: true
        },
        xAxis: {
          type: 'category',
          data: towns,
          axisLabel: {
            color: '#A3A3C9',
            rotate: 45,
            fontSize: 10,
            margin: 15
          },
          axisLine: {
            lineStyle: { color: '#0B3771' }
          },
          axisTick: { show: false }
        },
        yAxis: {
          type: 'value',
          name: '增加值（万元）',
          nameTextStyle: { color: '#A3A3C9' },
          axisLabel: {
            color: '#A3A3C9',
            formatter: value => (value / 10000).toFixed(0) + '亿'
          },
          splitLine: {
            lineStyle: { color: 'rgba(199,199,200,0.1)' }
          }
        },
        series: [
          {
            name: '2022年',
            type: 'bar',
            barWidth: 18,
            data: data2022,
            itemStyle: this.createGradient('#00C2FF'),
            label: {
              show: false,
              position: 'top',
              color: '#fff',
              formatter: p => (p.value / 10000).toFixed(1) + '亿'
            }
          },
          {
            name: '2023年',
            type: 'bar',
            barWidth: 18,
            data: data2023,
            itemStyle: this.createGradient('#4FF778'),
            label: {
              show: false,
              position: 'top',
              color: '#fff',
              formatter: p => (p.value / 10000).toFixed(1) + '亿'
            }
          },
          {
            name: '2024年',
            type: 'bar',
            barWidth: 18,
            data: data2024,
            itemStyle: this.createGradient('#157afa'),
            label: {
              show: false,
              position: 'top',
              color: '#fff',
              formatter: p => (p.value / 10000).toFixed(1) + '亿'
            }
          }
        ]
      };
    },
    async structureChartOption() {
      // 农业数据结构
      const agricultureSeries = [
        {
          name: '粮食',
          data: [315.63, 2431.1, 6862.03, 1639.24, 3024, 6280.76, 433.21, 1950.22, 4666.64, 8038, 3423.59, 11192.08, 4738.24, 9144.72, 1456.7]
        },
        { name: '油料', data: [0, 0, 158.26, 0, 2.29, 78.69, 0, 0, 0, 17.2, 44.77, 53.43, 33.31, 63.85, 0] },
        {
          name: '制种',
          data: [3443.97, 11158.75, 18919.86, 3653.3, 7372.95, 18783.6, 1613.34, 9172.77, 16948.95, 17957.57, 10857.43, 30823.62, 10980.04, 20274.23, 5406.93]
        },
        {
          name: '蔬菜',
          data: [13818.77, 21481.32, 41454.79, 33142.32, 10111.04, 28956.77, 2355.48, 20070.82, 36372.08, 16017.84, 10038.61, 372.38, 534.63, 9255.67, 6667.18]
        },
        {
          name: '中药材',
          data: [341.64, 466.26, 722.51, 888.88, 433.06, 245.14, 2.38, 2773.74, 1346.78, 763.07, 606.7, 1176.77, 312.35, 652.03, 4594.04]
        }
      ];

      // 牧业数据结构
      const husbandrySeries = [
        {
          name: '肉牛',
          data: [1238, 3233, 5032, 8360, 2070, 4796, 638, 3034, 5529, 7380, 9809, 22912, 10712, 22342, 6007]
        },
        {
          name: '肉羊',
          data: [3278.34, 4680.32, 7289.44, 11688.57, 5382.7, 14353.14, 2429.03, 5362.56, 13153.21, 5725.51, 6672.46, 12624.14, 12274.04, 17736.76, 4852.77]
        },
        {
          name: '生猪',
          data: [1236.94, 726.41, 1752.27, 1307.56, 1232.12, 3157.12, 214.91, 412.88, 994.92, 864.54, 1410.47, 483.59, 359.46, 625.74, 375.07]
        }
      ];

      return {
        tooltip: {
          trigger: 'axis',
          axisPointer: { type: 'shadow' },
          formatter: params => {
            let tip = `${params[0].name}<table>`;
            params.forEach(item => {
              tip += `<tr><td>${item.marker}</td><td>${item.seriesName}:</td>
                     <td style="padding:0 0 0 20px;text-align:right">${(item.value / 10000).toFixed(2)}亿元</td></tr>`;
            });
            return tip + '</table>';
          }
        },
        legend: {
          data: [...agricultureSeries.map(i => i.name), ...husbandrySeries.map(i => i.name)],
          top: 8,
          type: 'scroll',
          textStyle: { color: '#fff' },
          itemGap: 15,
          itemWidth: 10,  // 设置图例项的宽度
          itemHeight: 5  // 设置图例项的高度
        },
        grid: { top: 60, bottom: 30 },
        xAxis: [{
          type: 'category',
          data: ['西峰镇', '果园镇', '银达镇', '泉湖镇', '铧尖镇', '三墩镇', '黄泥堡乡', '西洞镇', '总寨镇', '上坝镇', '东洞镇', '金佛寺镇', '丰乐镇', '清水镇', '下河清镇'],
          axisLabel: {
            rotate: 45,
            color: '#A3A3C9',
            fontSize: 8
          },
          axisLine: { lineStyle: { color: '#0B3771' } },
          axisTick: { show: false }
        }],
        yAxis: [{
          type: 'value',
          name: '农业产值 (亿元)',
          nameTextStyle: { color: '#A3A3C9' },
          axisLabel: {
            color: '#A3A3C9',
            formatter: value => (value / 10000).toFixed(0)
          },
          // 去掉 y 轴刻度线
          axisTick: {
            show: false
          },
          // 去掉 y 轴分割线
          splitLine: {
            show: false
          }
        }, {
          type: 'value',
          name: '牧业产值 (亿元)',
          nameTextStyle: { color: '#A3A3C9' },
          axisLabel: {
            color: '#A3A3C9',
            formatter: value => (value / 10000).toFixed(0)
          },
          // 去掉 y 轴刻度线
          axisTick: {
            show: false
          },
          // 去掉 y 轴分割线
          splitLine: {
            show: false
          }
        }],
        series: [
          // 农业堆叠柱状图
          ...agricultureSeries.map((item, index) => ({
            name: item.name,
            type: 'bar',
            stack: '农业',
            yAxisIndex: 0,
            data: item.data,
            itemStyle: this.getAgricultureColor(index),
            barMaxWidth: 25
          })),
          // 牧业堆叠柱状图
          ...husbandrySeries.map((item, index) => ({
            name: item.name,
            type: 'bar',
            stack: '牧业',
            yAxisIndex: 1,
            data: item.data,
            itemStyle: this.getHusbandryColor(index),
            barMaxWidth: 25
          }))
        ]
      };
    },
    createGradient(color) {
      return {
        normal: {
          color: new this.$echarts.graphic.LinearGradient(0, 0, 0, 1, [
            { offset: 0, color },
            { offset: 1, color: '#10294e' }
          ]),
          opacity: 0.8
        }
      };
    },
    getAgricultureColor(index) {
      const colors = ['#00C2FF', '#4FF778', '#FFB443', '#FF5A5A', '#9B59B6'];
      return { color: colors[index % colors.length] };
    },
    getHusbandryColor(index) {
      const colors = ['#FFEB3B', '#4CAF50', '#FF9800'];
      return { color: colors[index % colors.length] };
    }
  },
  beforeDestroy() {
    Object.keys(this.charts).forEach(item => {
      this.charts[item] && this.charts[item].dispose();
      this.charts[item] = null;
    })
  },
  async mounted() {
    Object.keys(this.charts).forEach(item => {
      this.initChart(item);
    });
  }
}
</script>
<style lang="scss" scoped>
.overall-page {
  position: relative;
  padding: 90px 20px 20px 20px;

  .overall-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
    position: relative;
    z-index: 9;
  }

  .cusHeight {
    height: 260px;
  }

  .top-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;

    .top-item {
      width: calc(29% - 10px);
    }

    .top-item1 {
      width: 42%;
      height: 550px;

      .map-tooltip {
        position: absolute;
        z-index: 9;
        background: #fff;
        width: 450px;
        height: 250px;
        right: 29%;
        bottom: 35%;
        background: url("~@/assets/images/theme-blue/common/monitoring-over-modal.png") no-repeat center;
        background-size: 100% 100%;

        .map-tooltip-title {
          display: flex;
          align-items: center;
          color: #29F1FA;
          font-family: fzhzgbjianti;
          font-size: 24px;
          padding-left: 20px;
          height: 60px;
        }

        .map-tooltip-content {
          width: 95%;
          margin: 0 auto;
          height: calc(100% - 85px);
          display: flex;
          justify-content: space-between;
          flex-wrap: wrap;

          .tooltip-item {
            width: calc(100% / 3 - 10px);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;

            .value {
              display: flex;
              align-items: flex-end;
              margin-bottom: 10px;

              .number {
                font-weight: bold;
                font-size: 24px;
                color: #FFCB00;
              }

              .unit {
                color: #29F1FA;
                font-size: 13px;
              }
            }

            .label {
              color: #29F1FA;
            }
          }
        }
      }
    }
  }

  .info-block {
    width: 100%;

    .info-container {
      width: 100%;
      display: flex;
      align-items: center;
      margin-top: 15px;

      .info-item:nth-child(3n) {
        margin-right: 0;
      }

      .info-item {
        width: calc((100% - 30px) / 3);
        margin-right: 15px;
      }
    }
  }
}
</style>
